Coder Social home page Coder Social logo

Comments (9)

rpardini avatar rpardini commented on June 3, 2024

Hey,

  • how does armbian-config freeze stuff? If it's apt-mark hold xxx...
  • ... that doesn't prevent possible upgrades from being listed in apt list --upgradable ...
  • ... but does prevent an actual apt upgrade from upgrading them.

Not saying we don't have some kind of problem with the version, but...

from config.

iav avatar iav commented on June 3, 2024
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  qemu qemu-user-static
The following packages will be upgraded:
  bind9-dnsutils bind9-host bind9-libs containerd.io distro-info-data dnsutils
  docker-buildx-plugin docker-ce docker-ce-cli gh imagemagick
  imagemagick-6-common imagemagick-6.q16 libldb2 libmagickcore-6.q16-6
  libmagickwand-6.q16-6 libwbclient0 **linux-dtb-edge-meson64
  linux-headers-edge-meson64 linux-image-edge-meson64** linux-tools-common
  python3-ldb python3-samba samba samba-common samba-common-bin samba-libs
  samba-vfs-modules
28 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 152 MB of archives.
After this operation, 1,169 kB of additional disk space will be used.
Do you want to continue? [Y/n]

I add ** to mark linux-dtb-edge-meson64
linux-headers-edge-meson64 linux-image-edge-meson64
inside terminal output

from config.

rpardini avatar rpardini commented on June 3, 2024

Ok so this is about armbian-config and how it actually freezes the packages. Do you know where the source for that feature lies?

from config.

iav avatar iav commented on June 3, 2024

There

config/debian-config-jobs

Lines 958 to 977 in ce33cd3

check_if_installed linux-u-boot-${BOARD}-${BRANCH} && PACKAGE_LIST+=" linux-u-boot-${BOARD}-${BRANCH}"
check_if_installed linux-image-${BRANCH}-${LINUXFAMILY} && PACKAGE_LIST+=" linux-image-${BRANCH}-${LINUXFAMILY}"
check_if_installed linux-dtb-${BRANCH}-${LINUXFAMILY} && PACKAGE_LIST+=" linux-dtb-${BRANCH}-${LINUXFAMILY}"
check_if_installed linux-headers-${BRANCH}-${LINUXFAMILY} && PACKAGE_LIST+=" linux-headers-${BRANCH}-${LINUXFAMILY}"
# new BSP
check_if_installed armbian-${LINUXFAMILY} && PACKAGE_LIST+=" armbian-${LINUXFAMILY}"
check_if_installed armbian-${BOARD} && PACKAGE_LIST+=" armbian-${BOARD}"
check_if_installed armbian-${DISTROID} && PACKAGE_LIST+=" armbian-${DISTROID}"
check_if_installed armbian-bsp-cli-${BOARD} && PACKAGE_LIST+=" armbian-bsp-cli-${BOARD}"
check_if_installed armbian-${DISTROID}-desktop-xfce && PACKAGE_LIST+=" armbian-${DISTROID}-desktop-xfce"
check_if_installed armbian-firmware && PACKAGE_LIST+=" armbian-firmware"
check_if_installed armbian-firmware-full && PACKAGE_LIST+=" armbian-firmware-full"
local words=( $PACKAGE_LIST )
local command="unhold"
IFS=" "
[[ $1 == "Freeze" ]] && local command="hold"
for word in $PACKAGE_LIST; do apt-mark $command $word; done | dialog --backtitle "$BACKTITLE" --title "Packages ${1,,}" --progressbox $((${#words[@]}+2)) 64
fi

from config.

iav avatar iav commented on June 3, 2024

Seems it should work now.
But it doesn't.
And possible I found a reason: I use an edge kernel now. but ${BRANCH} in check code looks for current.
Highly likely™ in past I just deinstall old kernel packages and install self-builded edge.

Then now question is "what should be a right".

from config.

iav avatar iav commented on June 3, 2024

Should this code still look for branch at some config? or try to look for real?

from config.

rpardini avatar rpardini commented on June 3, 2024

Yeah, I dunno. I'm under strict medical orders to not look into armbian-config source, so I can only speculate that it looks at the info produced by the bsp-cli package in /etc/armbian-release and similar. so if you installed an edge kernel with apt it might be... confused.

from config.

iav avatar iav commented on June 3, 2024

okay.
Thank you for co-operations.
seems nothing should be fixed there.
Sorry for disturb.

from config.

rpardini avatar rpardini commented on June 3, 2024

🖖 You don't disturb at all. We've also BSPFREEZE=yes in build system so this actually helps

from config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.