KPackageKit fails to download updates

Bug #682909 reported by Christopher Forster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kpackagekit (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kpackagekit

KPackageKit's software management fails to the download updates.

"The package download failed.
Please check your network connectivity.

E: Error http://no.archive.ubuntu.com/ubuntu/ maverick-updates/universe cups-ppdc amd64 1.4.4-6ubuntu2.2
403 Forbidden"

I managed to update the system by running: sudo apt-get update && sudo apt-get upgrade

But it said:

"The following packages have been kept back:
  cups linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded."

"The process is very simple. Note that in the first few lines, apt-get says that some packages were kept back. This means that there are new versions of these packages which will not be installed for some reason. Possible reasons are broken dependencies (a package on which it depends doesn't have a version available for download) or new dependencies (the package has come to depend on new packages since the last version)."

Source

http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html

sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libqt3-mt
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libqt3-mt
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
After this operation, 9.687kB disk space will be freed.
Do you want to continue [Y/n]? y

But KPackageKit shows the dialog:

"The package download failed.
Please check your network connectivity.

E: Error http://no.archive.ubuntu.com/ubuntu/ maverick-updates/universe cups-ppdc amd64 1.4.4-6ubuntu2.2
403 Forbidden"

See also

Misleading error message on incorrect component in sources.list (was: Failed to fetch http://archive.canonical.com/ubuntu/dists/gutsy/Release Unable to find expected entry commercial/binary-i386/Packages in Meta-index file (malformed Release file?))
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/187994

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: kpackagekit 0.6.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Tue Nov 30 00:07:14 2010
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=se_NO
 LANG=se_NO.utf8
 SHELL=/bin/bash
SourcePackage: kpackagekit

Revision history for this message
Christopher Forster (christopherforster) wrote :
Revision history for this message
Daniel Nicoletti (dantti) wrote :

No, it's not a bug try for yourself
http://no.archive.ubuntu.com/ubuntu/pool/universe/c/cups/cups-ppdc_1.4.4-6ubuntu2.2_amd64.deb
you will get the same 403, which is because your software sources were not up2date for some reason.
Then you apt-get update which fixed the problem and apt-get upgrade went well.
After apt-get update do you still see this message?

The package that does the downloading thing is packagekit-backent-aptcc and it's code is
almost identical to apt-get, the only difference is that by default it run apt-get dist-upgrade.

Revision history for this message
Christopher Forster (christopherforster) wrote :

http://no.archive.ubuntu.com/ubuntu/pool/universe/c/cups/cups-ppdc_1.4.4-6ubuntu2.2_amd64.deb

Forbidden

You don't have permission to access /ubuntu/pool/universe/c/cups/cups-ppdc_1.4.4-6ubuntu2.2_amd64.deb on this server.

Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at no.archive.ubuntu.com Port 80

sudo apt-get update

Reading package lists... Done

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  cups linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Revision history for this message
Christopher Forster (christopherforster) wrote :

http://no.archive.ubuntu.com/ubuntu/pool/universe/c/cups/cups-ppdc_1.4.4-6ubuntu2.2_amd64.deb

Forbidden

You don't have permission to access /ubuntu/pool/universe/c/cups/cups-ppdc_1.4.4-6ubuntu2.2_amd64.deb on this server.

Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at no.archive.ubuntu.com Port 80

sudo apt-get update

Reading package lists... Done

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  cups linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Revision history for this message
Christopher Forster (christopherforster) wrote :

Tried: http://no.archive.ubuntu.com/ubuntu/pool/universe/c/cups/cups-ppdc_1.4.4-6ubuntu2.2_amd64.deb

Forbidden

You don't have permission to access /ubuntu/pool/universe/c/cups/cups-ppdc_1.4.4-6ubuntu2.2_amd64.deb on this server.

Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at no.archive.ubuntu.com Port 80

sudo apt-get update

Reading package lists... Done

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  cups linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Revision history for this message
Daniel Nicoletti (dantti) wrote :

Does KPackageKit still shows a package to update that ends up in 403?

Revision history for this message
Christopher Forster (christopherforster) wrote :

No, update completed successfully [solved]

Changed in kpackagekit (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.