apt doesn't install packages right after fetching them from pre-built repos DVDs (or does not fetch them at all (Karmic))

Bug #493300 reported by Sensiva
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

APT isn't installing packages right after prompting the DVD to insert for fetching, it keeps prompting for all required discs for fetching packages, then start installing, giving an error for those packages which its DVD isn't in the drive.

In previous releases (eg. Jaunty) APT fetches packages, installs them, then prompt for the next DVD.

Revision history for this message
Sensiva (sensiva) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error is
=====
dpkg: error processing /cdrom//pool/main/l/language-pack-ar-base/language-pack-ar-base_9.10+20091022_all.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing /cdrom//pool/main/l/language-pack-ar/language-pack-ar_9.10+20091022_all.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing /cdrom//pool/main/l/language-pack-gnome-ar-base/language-pack-gnome-ar-base_9.10+20091022_all.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing /cdrom//pool/main/l/language-pack-gnome-ar/language-pack-gnome-ar_9.10+20091022_all.deb (--unpack):
 cannot access archive: No such file or directory
dpkg: error processing /cdrom//pool/universe/g/gnome-user-docs/gnome-user-guide-ar_2.28.0+git20090921ubuntu2_all.deb (--unpack):
 cannot access archive: No such file or directory
=====

Are you running from a live cd ?
Could you please attach the file /etc/apt/sources.list ?

Thanks in advance.

Changed in ubuntu:
status: New → Invalid
affects: ubuntu → language-pack-ar-base (Ubuntu)
Changed in language-pack-ar-base (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Sensiva (sensiva) wrote :

No I am not running from a live cd, this is a fresh install of Karmic amd64

attached my sources.list

For your information I am using a pre-built DVDs repo. and you gave me a hint why this happened.

APT isn't installing packages right after prompting the DVD to insert for fetching, it keeps prompting for all required discs for fetching packages, then start installing, giving an error for those packages which its DVD isn't in the drive.

In previous releases (eg. Jaunty) APT fetches packages, installs them, then prompt for the next DVD.

affects: language-pack-ar-base (Ubuntu) → apt (Ubuntu)
Changed in apt (Ubuntu):
status: Incomplete → New
Revision history for this message
Sensiva (sensiva) wrote :

Please update the bug title and description , because honestly I don't know how to describe it briefly. Thanks

Sensiva (sensiva)
summary: - package language-pack-ar-base (not installed) failed to install/upgrade:
- cannot access archive: No such file or directory
+ apt doesn't install packages right after fetching them from pre-built
+ repos DVDs
description: updated
tags: added: apt karmic
Revision history for this message
Sensiva (sensiva) wrote : Re: apt doesn't install packages right after fetching them from pre-built repos DVDs

I don't think this bug is duplicate of #523395 because of the following:

 - Installing packages from online archives works fine in Karmic
 - Installing packages from local archives works fine in Karmic
 - If packages to be installed are located on the same DVD disc the installation finishes successfully

Quote : Let me describe it in details. If I want to install a program that needs more than one package, and those packages are located on different DVDs, APT used to fetch then install then ask for the next disc. But with Karmic, after fetching it doesn't install, it prompts for the next discs... etc and then starts installation , the packages currently in the last disc in the drive are installed, then giving an error about the other packages which are located in the previous discs because they are not there. Its not a problem in the discs, I think its APT behavior itself that should be changed. Unfortunately I don't know how to adjust this way of APT in Karmic. but a workaround for this is pointing APT to the local repos already downloaded on the harddrive and not using the created DVDs. I have tested it and worked fine.

http://ubuntuforums.org/showpost.php?p=2100699&postcount=1

Thank you

Revision history for this message
Sensiva (sensiva) wrote :

I confirm this bug doesn't exist in Lucid, I tested it on Lucid alpha3, it worked fine, except that apt-get takes about 30 seconds to prompt for the next disc.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Thanks for your explanation. I've changed the bug title accordingly.

I think the 30 seconds pause in Lucid is still unwanted behavior, and maybe this should get fixed for Karmic, if it's easily possible.

Changed in apt (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
summary: apt doesn't install packages right after fetching them from pre-built
- repos DVDs
+ repos DVDs (or does not fetch them at all (Karmic))
Revision history for this message
Sensiva (sensiva) wrote :

I really appreciate your consideration. I would like to tell you that this issue is critical in zones where high speed Internet connection isn't an option. Before Karmic we used to burn those DVDs after building them, now Karmic users have to copy the whole repos in the hard drive (about 50GB of files) which raises problems of free space and file system errors.

Thank you all for your efforts
Good Luck

Revision history for this message
Cathy Preece (wyrd-howling) wrote :

This seems to be pretty much the same as the bug I reported ID 568813, in my case I purchased the 10 DVD set from an authorised seller linked from the Ubuntu site for £23. Everyone else who has paid money for DVD sets is going to find them pretty much unuseable. I agree with Sensiva that this is a critical bug for those with no high speed internet access or none at all.

Revision history for this message
Julian Andres Klode (juliank) wrote :

I'm closing this bug as it does obviously not exist in lucid and newer. If you want this open for karmic, track it in karmic, not in the general Ubuntu field.

Changed in apt (Ubuntu):
status: Triaged → Fix Released
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.