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

If none of the more specific forums is the right place to ask

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

Postby Scorpion » 2020-01-23 06:46

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: 144
Joined: 2018-10-17 11:38

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

Postby Scorpion » 2020-01-24 19:28

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
Scorpion
 
Posts: 144
Joined: 2018-10-17 11:38

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

Postby Head_on_a_Stick » 2020-01-24 19:36

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.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

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

Postby fabien » 2020-01-24 23:29

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
fabien
 
Posts: 15
Joined: 2019-12-03 12:51
Location: Toulouse, France

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

Postby Head_on_a_Stick » 2020-01-25 09:36

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.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable