Update manager

Asked by peter

Hello

I've a question and I would be glad, if you can help. Thanks.

In the Update manager I've three updates to install. But the installation process fails. Always I get the message

W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/pool/main/h/hplip/hplip-data_2.7.7.dfsg.1-0ubuntu5.1_all.deb
  Size mismatch

W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/pool/main/h/hplip/hplip_2.7.7.dfsg.1-0ubuntu5.1_i386.deb
  Size mismatch

W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/pool/main/h/hplip/hpijs_2.7.7+2.7.7.dfsg.1-0ubuntu5.1_i386.deb
  Size mismatch

What can I do? How can I eliminate these three updates? Thanks for the answer.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
Michal (michal-capo) said :
#1

Hi

i had the same problem and i solved it in this way:
1. just click on above links (download the package and open it in Gdebi packager manager)
2. install it
3. repeat it for others links
4. run sudo apt-get update
5. run sudo apt-get ugrade

Now it should be installed. I'm not sure if this solution is correct but it worked for me.

Revision history for this message
peter (peter-neuweiler) said :
#2

Thanks a lot! Tomorrow I'm going to do it. Have a nice time and be well.

Revision history for this message
peter (peter-neuweiler) said :
#3

Hi Michal

I used Gdebi and it worked perfect.

But the last sudo command "sudo apt-get ugrade" failed. I got the error

root@linux-desktop:~# sudo apt-get ugrade
E: Invalid operation ugrade

Do you have an idea? Thanks a lot.
Peter

Revision history for this message
peter (peter-neuweiler) said :
#4

Hi Michal

If I run the Update manager, the files are installed!!! So, I guess, my problem is solved. Do you agree?

Thanks for your answer.
Peter

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

To be sure yuor syste mis updated/upgraded with no pending packages

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Revision history for this message
peter (peter-neuweiler) said :
#6

Hi Mmarcobra

Thanks for the hint. But: if the Update manager tells me, that my system is up-to-date, is this not the evidence that the install has worked? Thanks for your answer.

Peter

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

If it tell no errors all your system is updated/upgraded

To be sure hplip is installed you can use:

1) a terminal command (to install it if not installed) :

sudo apt-get install hplip

2) a terminal command :

dpkg -l | grep -i hplip

ii at the start of the row mean package installed

3) Using Synaptic: System → Administration → Synaptic and filter packages for hplip

4) use the Applications → Add/remove search for hplip

Hope this helps

Revision history for this message
peter (peter-neuweiler) said :
#8

Hi marfcobra

If I activate the Update manager, I don't get any errors. I get the message "Your system is up-to-date". So, I guess, everything is ok and works fine.

Thanks a lot.
Peter