Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Upgrade from 9 to 10 kernel fails to load modules [SOLVED]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Upgrade from 9 to 10 kernel fails to load modules [SOLVED]

#1 Post by Scorpion »

When I updated the system from debian 9 to 10, after I made a backup with timeshift, I saw a lot of warming in apt, something like:

Code: Select all

apt 1.5 beta1 unstable; urgency medium
Is there a way to see them all?

I have done the upgrade by changing the sources.list from stretch (9) to buster (10).

After I used:

Code: Select all

apt update 
apt-get dist-upgrade
Is this the best way?

Currently I am using the 5.0.0-19.1-liquorix-amd64 kernel.
The update failed to built modules, so I use the terminal to purge the nvidia driver, which I believe to be the problem:

Code: Select all

apt purge *nvidia
(Without kernel modules I cannot use the GUI).

After I was able to use the 4.19.0-6 kernel (the one installed from buster), I try to install nvidia driver but it failed.

After some attempts I had the message "you held broken packages" and I was not able to use any kernel so I used timeshift and now I am again on stretch.
Last edited by Scorpion on 2020-01-23 07:16, edited 2 times in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#2 Post by Head_on_a_Stick »

Scorpion wrote:I have done the upgrade by changing the sources.list from stretch (9) to buster (10).

After I used:

Code: Select all

apt update 
apt-get dist-upgrade
Is this the best way?
No, that's not what the official release notes recommend.
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#3 Post by Scorpion »

Head_on_a_Stick wrote:
Scorpion wrote:I have done the upgrade by changing the sources.list from stretch (9) to buster (10).

After I used:

Code: Select all

apt update 
apt-get dist-upgrade
Is this the best way?
No, that's not what the official release notes recommend.
Is this, right? https://www.debian.org/releases/stable/ ... ng.en.html

Do I have to change stretch to buster in etc/apt/sources.list and in /etc/apt/sources.list.d and use apt update?

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#4 Post by Scorpion »

I am trying to follow the previous link.

I am also cleaning obsolete packages as suggested here https://www.debian.org/releases/stable/ ... l#obsolete but:

Code: Select all

aptitude purge '~o'
The following packages will be REMOVED:  
  dxvk{p} dxvk-wine32-development:i386{p} dxvk-wine64-development{p} gcc-8-base{p} gcc-8-base:i386{p} irqbalance{u} lib32gcc1{u} libc6-i386{u} libunistring2{p} libunistring2:i386{p} linux-headers-4.18.0-0.bpo.1-amd64{p} linux-headers-4.18.0-0.bpo.1-common{pu} linux-headers-4.18.0-0.bpo.3-amd64{p} linux-headers-4.18.0-0.bpo.3-common{p} linux-headers-5.0.0-18.1-liquorix-amd64{p} 
  linux-image-4.18.0-0.bpo.1-amd64{p} linux-image-4.19.0-13.1-liquorix-amd64{p} linux-image-4.20.0-5.1-liquorix-amd64{p} linux-image-5.0.0-18.1-liquorix-amd64{p} linux-kbuild-4.18{pu} lutris{p} net.downloadhelper.coapp{p} python3-yaml{u} vulkan-validationlayers{p} vulkan-validationlayers-dev{p} 
0 packages upgraded, 0 newly installed, 25 to remove and 6 not upgraded.
Need to get 0 B of archives. After unpacking 1,487 MB will be freed.
The following packages have unmet dependencies:
 libstdc++6 : Depends: gcc-8-base (= 8.2.0-20) but it is not going to be installed
 libstdc++6:i386 : Depends: gcc-8-base:i386 (= 8.2.0-20) but it is not going to be installed
 libidn2-0 : Depends: libunistring2 (>= 0.9.7) but it is not going to be installed
 libidn2-0:i386 : Depends: libunistring2:i386 (>= 0.9.7) but it is not going to be installed
The following actions will resolve these dependencies:

      Remove the following packages:                                              
1)      glib-networking:i386 [2.50.0-1+b1 (now, oldstable)]                       
2)      libasound2-plugins:i386 [1.1.1-1 (now, oldstable)]                        
3)      libavcodec57:i386 [7:3.2.14-1~deb9u1 (now, oldstable)]                    
4)      libcrystalhd3:i386 [1:0.0~git20110715.fdd2f19-12 (now, oldstable)]        
5)      libcurl3:i386 [7.52.1-5+deb9u9 (now, oldstable)]                          
6)      libgl1:i386 [1.1.0-1~bpo9+1 (now, stretch-backports)]                     
7)      libgl1-mesa-dri:i386 [18.2.8-2~bpo9+1 (now, stretch-backports)]           
8)      libgl1-mesa-glx:i386 [18.2.8-2~bpo9+1 (now, stretch-backports)]           
9)      libgl1-nvidia-glvnd-glx:i386 [418.74-1~bpo9+1 (now, stretch-backports)]   
10)     libglu1-mesa:i386 [9.0.0-2.1 (now, oldstable)]                            
11)     libglx-mesa0:i386 [18.2.8-2~bpo9+1 (now, stretch-backports)]              
12)     libglx-nvidia0:i386 [418.74-1~bpo9+1 (now, stretch-backports)]            
13)     libglx0:i386 [1.1.0-1~bpo9+1 (now, stretch-backports)]                    
14)     libgphoto2-6:i386 [2.5.12-1 (now, oldstable)]                             
15)     libgtk-3-0:i386 [3.22.11-1 (now, oldstable)]                              
16)     libicu57:i386 [57.1-6+deb9u3 (now, oldstable)]                            
17)     libidn2-0:i386 [2.0.5-1 (now)]                                            
18)     libjack-jackd2-0:i386 [1.9.10+20150825git1ed50c92~dfsg-5 (now, oldstable)]
19)     libllvm6.0:i386 [1:6.0-1~bpo9+1 (now, stretch-backports)]                 
20)     libosmesa6:i386 [18.2.8-2~bpo9+1 (now, stretch-backports)]                
21)     libproxy1v5:i386 [0.4.14-2 (now, oldstable)]                              
22)     libpsl5:i386 [0.17.0-3 (now, oldstable)]                                  
23)     librest-0.7-0:i386 [0.8.0-2 (now, oldstable)]                             
24)     libsnappy1v5:i386 [1.1.3-3 (now, oldstable)]                              
25)     libsoup-gnome2.4-1:i386 [2.56.0-2+deb9u2 (now, oldstable)]                
26)     libsoup2.4-1:i386 [2.56.0-2+deb9u2 (now, oldstable)]                      
27)     libstdc++6:i386 [8.2.0-20 (now)]                                          
28)     libvdpau-va-gl1:i386 [0.4.2-1 (now, oldstable)]                           
29)     libvpx4:i386 [1.6.1-3+deb9u2 (now, oldstable)]                            
30)     libwine:i386 [4.0-2~bpo9+1 (now, stretch-backports)]                      
31)     libwine-development:i386 [2.0-3+b2 (now, oldstable)]                      
32)     libx265-95:i386 [2.1-2+b2 (now, oldstable)]                               
33)     libxml2:i386 [2.9.4+dfsg1-2.2+deb9u2 (now, oldstable)]                    
34)     libxslt1.1:i386 [1.1.29-2.1+deb9u1 (now, oldstable)]                      
35)     nvidia-driver-libs:i386 [418.74-1~bpo9+1 (now, stretch-backports)]        
36)     nvidia-driver-libs-i386:i386 [390.116-1 (now, oldstable)]                 
37)     nvidia-vulkan-icd:i386 [418.74-1~bpo9+1 (now, stretch-backports)]         
38)     steam:i386 [1.0.0.54-2 (now, oldstable)]                                  
39)     wine32:i386 [4.0-2~bpo9+1 (now, stretch-backports)]                       
40)     wine32-development:i386 [2.0-3+b2 (now, oldstable)]                       

      Keep the following packages at their current version:                       
41)     gcc-8-base [8.2.0-20 (now)]                                               
42)     libunistring2 [0.9.10-1 (now)]                                            

      Leave the following dependencies unresolved:                                
43)     wine64-development recommends wine32-development (= 2.0-3+b2)             
44)     libvdpau1:i386 recommends vdpau-driver-all:i386 | vdpau-driver:i386       
45)     wine64 recommends wine32 (= 4.0-2~bpo9+1)                                 
46)     libwine:i386 recommends libgl1-mesa-glx:i386 | libgl1:i386                
47)     libwine:i386 recommends libglu1-mesa:i386 | libglu1:i386                  
48)     libwine:i386 recommends libosmesa6:i386 (>= 10.2~)                        
49)     libwine:i386 recommends libxslt1.1:i386 (>= 1.1.25)                       
50)     libwine:i386 recommends libgl1-mesa-dri:i386                              
51)     libwine:i386 recommends libasound2-plugins:i386                           
52)     nvidia-driver-libs recommends nvidia-driver-libs-i386                     
53)     libc6:i386 recommends libidn2-0:i386 (>= 2.0.5~)                          



Accept this solution? [Y/n/q/?] 

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#5 Post by Scorpion »

@stevenpusser
This is my "home:stevenpusser:codelite.list" the only file in "etc/apt/sources.list.d":

Code: Select all

deb http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0/ /
There is not Debian 10 on that repository.
What should I do? Leave debian 9 or remove it?

I am trying leaving it.

I use apt update and I am using apt upgrade.

Code: Select all

inxi -r
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb http://httpredir.debian.org/debian buster main non-free contrib
           2: deb-src http://httpredir.debian.org/debian buster main non-free contrib
           3: deb http://security.debian.org/debian-security buster/updates main contrib non-free
           4: deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
           5: deb https://dl.winehq.org/wine-builds/debian/ buster main
           Active apt repos in: /etc/apt/sources.list.d/home:stevenpusser:codelite.list 
           1: deb http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0/ /

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#6 Post by Bulkley »

What should I do?
If you haven't already done so, back up anything important onto a separate drive.

From my own experiences I find it both easier and better to do a fresh install of Debian 10 and copy in important files. The 9 t0 10 upgrade is a big leap.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#7 Post by Head_on_a_Stick »

Scorpion wrote:@stevenpusser
This is my "home:stevenpusser:codelite.list" the only file in "etc/apt/sources.list.d":

Code: Select all

deb http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0/ /
There is not Debian 10 on that repository.
What should I do? Leave debian 9 or remove it?
Probably best to remove it.

This should show which packages have been installed from there so you can remove those as well:

Code: Select all

aptitude search '?narrow(?installed, ?origin(obs://build.opensuse.org/home:stevenpusser:codelight/Debian_9.0))'
And I don't trust those WINE repositories but I am somewhat paranoid. At least that's what people keep saying about me behind my back...

Anyway, the NVIDIA modules might have problems with the very latest kernel but that's your own fault for giving money to enemies of the open source community. Perhaps try nouveau instead?
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#8 Post by Scorpion »

Bulkley wrote:
What should I do?
If you haven't already done so, back up anything important onto a separate drive.

From my own experiences I find it both easier and better to do a fresh install of Debian 10 and copy in important files. The 9 t0 10 upgrade is a big leap.
I did a backup with timeshift, I already used it once it has the cli so I should be able to use it if something goes wrong.

I installed a lot of packages I won' t give up so easily :D

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#9 Post by Scorpion »

Head_on_a_Stick wrote:
Scorpion wrote:@stevenpusser
This is my "home:stevenpusser:codelite.list" the only file in "etc/apt/sources.list.d":

Code: Select all

deb http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0/ /
There is not Debian 10 on that repository.
What should I do? Leave debian 9 or remove it?
Probably best to remove it.

This should show which packages have been installed from there so you can remove those as well:

Code: Select all

aptitude search '?narrow(?installed, ?origin(obs://build.opensuse.org/home:stevenpusser:codelight/Debian_9.0))'
And I don't trust those WINE repositories but I am somewhat paranoid. At least that's what people keep saying about me behind my back...

Anyway, the NVIDIA modules might have problems with the very latest kernel but that's your own fault for giving money to enemies of the open source community. Perhaps try nouveau instead?
The updates has finished, now all the kernels are fines! I am using the liquorix 5 kernel from stevenpusser repositories:

Code: Select all

 uname -r
5.0.0-19.1-liquorix-amd64
It would have been better if I closed the GUI (gnome) during the update.
The first time I left mozilla open and I had to quit the session because meanwhile the system was updated. I saw a warning like this: "you are trying to run and old version of mozilla you can lost a lot of data".

I added the wine repository when i was testing some things, now I removed it maybe I am paranoid too.
Is amd friendly to the open source community? While nvidia is not?

But there is some trouble with nautilus and qbittorrent.
I added the buster backports (deb http://deb.debian.org/debian buster-backports main contrib non-free) and I am using "apt full-upgrade" now.

I also had to use "apt --fix-broken install" before the upgrade.

Code: Select all

nautilus
Segmentation fault
Is there a way to reinstall gnome desktop using taskel or something?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#10 Post by Head_on_a_Stick »

Scorpion wrote:Is amd friendly to the open source community? While nvidia is not?
That's right, yes. AMD contribute directly to the open source drivers but NVIDIA have a long history of not helping the nouveau developers at all. But that has changed recently:

https://www.phoronix.com/scan.php?page= ... n-GPU-Docs

Still not on par with AMD though.
Scorpion wrote:

Code: Select all

nautilus
Segmentation fault
Oh dear. i suppose we could check the source:

Code: Select all

apt policy nautilus
Or you could try to debug it.
Scorpion wrote:Is there a way to reinstall gnome desktop using taskel or something?
Yes:

Code: Select all

# tasksel
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#11 Post by Scorpion »

Code: Select all

apt policy nautilus
nautilus:
  Installed: 3.22.3-1+deb9u1
  Candidate: 3.30.5-2
  Version table:
     3.30.5-2 500
        500 http://httpredir.debian.org/debian buster/main amd64 Packages
 *** 3.22.3-1+deb9u1 100
        100 /var/lib/dpkg/status
Before I tried to use "aptitude reinstall nautilus" and "apt reinstall nautilus", it stated something like: cannot find nautlius-packages-64.

If I already have gnome installed how can I tell tasksel to reinstall it? Without removing it and installing it again.

Is this ok "http://httpredir.debian.org/debian buster/main amd64 Packages"?
I am not sure about this 2 sources:

Code: Select all

           1: deb http://httpredir.debian.org/debian buster main non-free contrib
           2: deb-src http://httpredir.debian.org/debian buster main non-free contrib

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#12 Post by Head_on_a_Stick »

Scorpion wrote:

Code: Select all

apt policy nautilus
nautilus:
  Installed: 3.22.3-1+deb9u1
  Candidate: 3.30.5-2
  Version table:
     3.30.5-2 500
        500 http://httpredir.debian.org/debian buster/main amd64 Packages
 *** 3.22.3-1+deb9u1 100
        100 /var/lib/dpkg/status
That should update :?

Try

Code: Select all

# apt install nautilus=3.30.5-2
Post the verbatim output if it doesn't work. Thanks.
Scorpion wrote:If I already have gnome installed how can I tell tasksel to reinstall it? Without removing it and installing it again.

Code: Select all

# apt reinstall task-gnome-desktop
Scorpion wrote:Is this ok
No, I don't think httpredir is working any more. Which might explain your problems.

See https://deb.debian.org for the replacement.
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#13 Post by Scorpion »

Now that I think about it when I did the first update the nautilus icon changed now it is the same as before.
I will try

Code: Select all

apt install nautilus=3.30.5-2
after apt finishes to do apt update, now my connection is very slow.

My sources now:

Code: Select all

inxi -r
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb http://deb.debian.org/debian buster main non-free contrib
           2: deb-src http://deb.debian.org/debian buster main non-free contrib
           3: deb http://security.debian.org/debian-security buster/updates main contrib non-free
           4: deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
           5: deb http://deb.debian.org/debian buster-backports main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/home:stevenpusser:codelite.list 
           1: deb http://download.opensuse.org/repositories/home:/stevenpusser:/codelite/Debian_9.0/ /

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#14 Post by Scorpion »

Code: Select all

apt install nautilus=3.30.5-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kio : Depends: libkf5solid5 (>= 4.97.0) but it is not going to be installed
 libkf5archive5 : Breaks: kio (< 5.54) but 5.28.0-2 is to be installed
 libkf5completion5 : Breaks: kio (< 5.54) but 5.28.0-2 is to be installed
                     Breaks: libkf5parts5 (< 5.42) but 5.28.0-1 is to be installed
 libkf5configwidgets5 : Breaks: kio (< 5.54) but 5.28.0-2 is to be installed
                        Breaks: libkf5parts5 (< 5.42) but 5.28.0-1 is to be installed
                        Breaks: libkf5wallet-bin (< 5.54) but 5.28.0-3 is to be installed
 libkf5iconthemes5 : Breaks: kio (< 5.42) but 5.28.0-2 is to be installed
                     Breaks: libkf5parts5 (< 5.54) but 5.28.0-1 is to be installed
                     Breaks: libkf5wallet-bin (< 5.54) but 5.28.0-3 is to be installed
                     Recommends: libkf5iconthemes-bin (= 5.54.0-1) but 5.28.0-2 is to be installed
 libkf5jobwidgets5 : Breaks: kio (< 5.42) but 5.28.0-2 is to be installed
                     Breaks: libkf5parts5 (< 5.54) but 5.28.0-1 is to be installed
 libkf5kdelibs4support5 : Depends: libkf5kiofilewidgets5 (>= 4.96.0) but it is not going to be installed
                          Depends: libkf5solid5 (>= 4.97.0) but it is not going to be installed
                          Recommends: libkf5kdelibs4support5-bin (= 5.54.0-1) but it is not going to be installed
 libkf5kiocore5 : Breaks: libkf5parts5 (< 5.54) but 5.28.0-1 is to be installed
 libkf5kiowidgets5 : Breaks: libkf5parts5 (< 5.54) but 5.28.0-1 is to be installed
 libkf5service5 : Breaks: kio (< 5.54) but 5.28.0-2 is to be installed
                  Breaks: libkf5parts5 (< 5.54) but 5.28.0-1 is to be installed
                  Breaks: libkf5wallet-bin (< 5.54) but 5.28.0-3 is to be installed
                  Recommends: libkf5service-bin (= 5.54.0-1) but 5.28.0-1 is to be installed
 libkf5textwidgets5 : Breaks: kio (< 5.54) but 5.28.0-2 is to be installed
                      Breaks: libkf5parts5 (< 5.42) but 5.28.0-1 is to be installed
 libkf5widgetsaddons5 : Breaks: kio (< 5.54) but 5.28.0-2 is to be installed
                        Breaks: libkf5parts5 (< 5.54) but 5.28.0-1 is to be installed
                        Breaks: libkf5wallet-bin (< 5.54) but 5.28.0-3 is to be installed
                        Breaks: libkwalletbackend5-5 (< 5.54) but 5.28.0-3 is to be installed
 libkf5xmlgui5 : Breaks: libkf5parts5 (< 5.54) but 5.28.0-1 is to be installed
                 Recommends: libkf5xmlgui-bin (= 5.54.0-1) but 5.28.0-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Can apt full-upgrade be the solution?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#15 Post by Head_on_a_Stick »

Scorpion wrote:Can apt full-upgrade be the solution?
Looks a bit more serious than that.

Try using aptitude instead of apt, it should offer several choices for resolution.

If you go through all the choices without finding an acceptable solution then try debugging the resolver:

Code: Select all

apt -s -o Debug::pkgProblemResolver=yes install nautilus=3.30.5-2
deadbang

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules

#16 Post by Scorpion »

I used apt full-upgrade and now is fine!

But how can I enable desktop icons on buster?

It was in (gnome) tweaks before.

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Upgrade from 9 to 10 kernel fails to load modules [SOLVE

#17 Post by Scorpion »

In this http://www.ubuntubuzz.com/2019/07/what- ... ition.html nice article I found an extension for that: https://extensions.gnome.org/extension/ ... top-icons/.

I discovered that apt full-upgrade should be use when upgrading the system.

I used it before when apt upgrade left a few packages not upgraded.

Where can I see all the apt options?

Code: Select all

apt -h
apt 1.8.2 (amd64)
Usage: apt [options] command

apt is a commandline package manager and provides commands for
searching and managing as well as querying information about packages.
It provides the same functionality as the specialized APT tools,
like apt-get and apt-cache, but enables options more suitable for
interactive use by default.

Most used commands:
  list - list packages based on package names
  search - search in package descriptions
  show - show package details
  install - install packages
  reinstall - reinstall packages
  remove - remove packages
  autoremove - Remove automatically all unused packages
  update - update list of available packages
  upgrade - upgrade the system by installing/upgrading packages
  full-upgrade - upgrade the system by removing/installing/upgrading packages
  edit-sources - edit the source information file

See apt(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
                                        This APT has Super Cow Powers.
I can' t see the -o option for example.
Last edited by Scorpion on 2020-01-25 18:11, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Upgrade from 9 to 10 kernel fails to load modules [SOLVE

#18 Post by Head_on_a_Stick »

Scorpion wrote:Where can I see all the apt options?
The apt(8) command uses the same flags as apt-get(8) & apt-cache(8) but with slightly different options applied. I think the dependency resolution algorithm is different as well.
deadbang

User avatar
fabien
Forum Helper
Forum Helper
Posts: 671
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 61 times
Been thanked: 154 times

Re: Upgrade from 9 to 10 kernel fails to load modules [SOLVE

#19 Post by fabien »

Head_on_a_Stick wrote: I think the dependency resolution algorithm is different as well.
Different from apt-get? What makes you think so? I haven't read documentation or debates but I thought that that was superficial differences as the man states clearly «apt provides a high-level commandline interface for the package management system.»

From some of my tests I just can say that apt is slower than apt-cache in certain circumstances. I haven't tried to compare dependencies resolution, maybe I should.

Code: Select all

[0] sam. janv. 25 01:05:06 ⚛ [nofun@rammstein:~]$ 
time for (( i=1; i<=100 ; i++ )); do apt-cache show thunderbird &>/dev/null; done

real	0m3,489s
user	0m2,835s
sys	0m0,679s

[0] sam. janv. 25 01:05:33 ⚛ [nofun@rammstein:~]$ 
time for (( i=1; i<=100 ; i++ )); do apt-cache --no-all-versions show thunderbird &>/dev/null; done

real	0m14,966s
user	0m14,110s
sys	0m0,876s

[0] sam. janv. 25 01:06:47 ⚛ [nofun@rammstein:~]$ 
time for (( i=1; i<=100 ; i++ )); do apt show thunderbird &>/dev/null; done

real	0m14,933s
user	0m14,103s
sys	0m0,848s

[0] sam. janv. 25 01:07:26 ⚛ [nofun@rammstein:~]$ 
time for (( i=1; i<=100 ; i++ )); do apt --all-versions show thunderbird &>/dev/null; done

real	0m14,995s
user	0m14,170s
sys	0m0,843s
Edit:
thanks for your response Head_on_a_Stick. For the record, I opened a thread here http://forums.debian.net/viewtopic.php?f=19&t=145091
Last edited by fabien on 2020-01-25 19:43, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Upgrade from 9 to 10 kernel fails to load modules [SOLVE

#20 Post by Head_on_a_Stick »

fabien wrote:
Head_on_a_Stick wrote: I think the dependency resolution algorithm is different as well.
Different from apt-get? What makes you think so?
The release notes for Debian buster advise using apt full-upgrade rather than apt-get dist-upgrade so I am presuming it handles the dependencies slightly differently. But I may be wrong.

Anyway this is all off-topic for this thread, please open another if you want to discuss the relative merits of the various APT front-ends.
deadbang

Post Reply