Glam Prestige Journal

Bright entertainment trends with youth appeal.

I have been trying to upgrade version 19.04 to 19.10 but it does not happen.

When I write

do-release-upgrade

it gives this output

Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

When I write

sudo apt-get dist-upgrade

the following output appears

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back: libsnmp30
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

How to upgrade successfully?

Note: I am adding files which might potentially contain wrong selections in the lists

enter image description here

enter image description here

sudo apt install --reinstall libsnmp30

code gives me this output:

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:
libsnmp30 : Depends: libsensors5 (>= 1:3.5.0) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.

I wrote this command ( nothing happened)

dpkg --get-selections | grep hold

then

sudo apt-get update

gives the result below

 Hit:1 disco InRelease Get:2 disco-updates InRelease [97,5 kB] Get:3 disco-backports InRelease [88,8 kB] Get:4 disco-security InRelease [97,5 kB] Fetched 284 kB in 3s (107 kB/s) Reading package lists... Done

after this used

 sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libmysqlclient20 mysql-common 0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded. After this operation, 4.003 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 185057 files and directories currently installed.) Removing libmysqlclient20:amd64 (5.7.28-0ubuntu0.19.04.2) ... Removing mysql-common (5.8+1.0.5) ... Processing triggers for libc-bin (2.29-0ubuntu2) ...

then

 sudo apt-get update Hit:1 disco InRelease Hit:2 disco-updates InRelease Hit:3 disco-backports InRelease Hit:4 disco-security InRelease Reading package lists... Done

trying to upgrade gives this result with the command

 do-release-upgrade Checking for a new Ubuntu release Please install all available updates for your release before upgrading.

I think I am doing failure at my selections given in the screenshot above.

I tried this,

$ sudo apt list | grep python | cut -d "/" -f1 | xargs sudo apt-get
remove -y

errorr occured after a long process I am writing last line (error text)

 Errors were encountered while processing: python3 E: Sub-process /usr/bin/dpkg returned an error code (1)

I recommend to other users to be careful with applying commands,especially with sudo with which they are not familiar commands. now computer is being opened with only command system and I do not know what to do.

I wrote sudo reboot it reopened but with command line only. writes: 2 updates can be installed immediately 1 of these updates is a security update. I wrote

sudo apt-get update

and sudo apt-get upgrade

it writes at last line

0 upgraded,o newly installed,o to remove and 0 not upgraded.
1

1 Answer

I had the similar problem. I think the cause was libsnmp30 (whatever this is). So, to solve first kill libsnmp30 by running:
sudo apt purge libsnmp30
sudo apt autoremove

Next you upgrade the OS with a command do-release-upgrade. If you don't have it, run sudo apt install ubuntu-release-upgrader-core.

Then run
sudo do-release-upgrade -c

to check the upgrade is what you are desiring. Finally run
sudo do-release-upgrade
and wait for the upgrade to finish (you may get prompts, answer yes/no accordingly). Good luck!

8

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy