[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#430174: marked as done (apt-cdrom fails to pick up the Release files from "cdrom:" repositories)



Your message dated Wed, 12 Aug 2015 11:43:17 +0200
with message-id <20150812094317.GA29764@crossbow>
and subject line Re: apt-cdrom fails to pick up the Release files from "cdrom:" repositories
has caused the Debian Bug report #430174,
regarding apt-cdrom fails to pick up the Release files from "cdrom:" repositories
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
430174: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430174
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.6.46.4-0.1
Severity: important

How to reproduce the error:

Add the first Official Etch CD for example to the sources.list
using »apt-cdrom add«.  It will show up as follows:

In sources.list:

deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main

In the output of »apt-cache policy«:

 500 cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55] etch/contrib Packages
     origin Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55

 500 cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55] etch/main Packages
     origin Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55

Note, that there are no lines
release o=...,a=...,l=...,c=...
showing up in the output of »apt-cache policy«.

Thus is it impossible to pin priorities of packages on »cdrom:«
repositories based on archive and component names.  (That's why I
think the severity of this bug should be "important".)

Furthermore, in the directory given by Dir::State::lists there is
no Release file for this CD repository.

Now, by contrast, use the CD as a »file:« repository:

Create a symbolic link /somewhere/else pointing to the CD mount
point /media/cdrom, mount the CD and add the following line to your
sources.list:

deb file:/somewhere/else etch contrib main

After »apt-get update« the output of »apt-cache policy«
contains the lines

 500 file: etch/main Packages
     release o=Debian,a=stable,l=Debian,c=main
 500 file: etch/contrib Packages
     release o=Debian,a=stable,l=Debian,c=contrib

and in the Dir::State::lists directory there is a copy of the
Release file.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::Cache-Limit "12500000";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "/tmp/friedhlm/friedhlm/.tmpnames/28486/partsdir";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Acquire "";
Acquire::gpgv "";
Acquire::gpgv::Options "";
Acquire::gpgv::Options:: "--ignore-time-conflict";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
aptitude "";
aptitude::UI "";
aptitude::UI::Colors "";
aptitude::UI::Colors::ScreenBackgroundColor "";
aptitude::UI::Colors::ScreenBackgroundColor:: "black";
aptitude::UI::Colors::ScreenBackgroundColor:: "white";
aptitude::UI::Colors::DefaultWidgetBackground "";
aptitude::UI::Colors::DefaultWidgetBackground:: "black";
aptitude::UI::Colors::DefaultWidgetBackground:: "white";
aptitude::UI::Colors::PkgToHold "";
aptitude::UI::Colors::PkgToHold:: "white";
aptitude::UI::Colors::PkgToHold:: "black";
aptitude::UI::Styles "";
aptitude::UI::Styles::Default "";
aptitude::UI::Styles::Default::fg "black";
aptitude::UI::Styles::Default::bg "white";
aptitude::UI::Advance-On-Action "false";
aptitude::UI::Description-Visible-By-Default "true";
aptitude::UI::Exit-On-Last-Close "false";
aptitude::UI::HelpBar "true";
aptitude::UI::Incremental-Search "true";
aptitude::UI::Menubar-Autohide "false";
aptitude::UI::Minibuf-Download-Bar "true";
aptitude::UI::Minibuf-Prompts "false";
aptitude::UI::New-Package-Commands "true";
aptitude::UI::Package-Header-Format "%N %n #%B %u %o";
aptitude::UI::Package-Status-Format "%d";
aptitude::UI::Package-Display-Format "%c%a%M %p %18v %18V";
aptitude::UI::Prompt-On-Exit "false";
aptitude::Auto-Fix-Broken "true";
aptitude::Auto-Install "true";
aptitude::Delete-Unused "true";
aptitude::Delete-Unused-Pattern "";
aptitude::Pkg-Display-Limit "";
aptitude::Recommends-Important "false";
aptitude::Suggests-Important "false";
aptitude::Keep-Unused-Pattern "";

-- /etc/apt/preferences --

Explanation: Etch Backports geringer als schon installierte.
Package: *
Pin: release a=etch-backports
Pin-Priority: 95

Explanation: Gib Paketen aus dem Proposed-Updates-Archiv weniger Rang
Explanation: als installierten Paketen
Package: *
Pin: release v=4.0-updates
Pin-Priority: 90

Explanation: Etch Proposed Updates geringer einstufen
Explanation: als schon installierte.
Package: *
Pin: release a=etch-proposed-updates
Pin-Priority: 90

Explanation: Lenny geringer einstufen als Etch Proposed Updates
Explanation: release a=lenny gibt's leider nicht
Package: *
Pin: release a=testing
Pin-Priority: 85

Explanation: Lenny Proposed Updates geringer einstufen
Explanation: als Lenny.
Explanation: release a=lenny-proposed-updates gibt's leider nicht
Package: *
Pin: release a=testing-proposed-updates
Pin-Priority: 80

Explanation: Neue, aber noch nicht eingeordnete Pakete geringer
Explanation: einstufen als schon installierte.
Package: *
Pin: release l=neue_Pakete
Pin-Priority: 80

Explanation: Pakete unbekannter Herkunft (z.B. veraltete) geringer
Explanation: einstufen als schon installierte.
Package: *
Pin: release l=Pakete_unbekannter_Herkunft
Pin-Priority: 75


-- /etc/apt/sources.list --

deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ etch contrib main main-debian-installer non-free
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ etch-multimedia non-free
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ new unknown
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ unknown unknown
deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ etch contrib main main-debian-installer non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ etch-backports contrib main non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ etch-multimedia non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ etch-proposed-updates contrib main main-debian-installer non-free
deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ etch-updates contrib main main-debian-installer non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ new unknown
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 3 (20070621)]/ unknown unknown
deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ etch contrib main main-debian-installer non-free
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ etch-multimedia non-free
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ new unknown
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ unknown unknown
deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ etch contrib main main-debian-installer non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ etch-backports contrib main non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ etch-multimedia non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ etch-proposed-updates contrib main main-debian-installer non-free
deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ etch-updates contrib main main-debian-installer non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ new unknown
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 2 (20070619)]/ unknown unknown
deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ etch contrib main main-debian-installer non-free
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ etch-multimedia non-free
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ new unknown
#-deb-src cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ unknown unknown
deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ etch contrib main main-debian-installer non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ etch-backports contrib main non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ etch-multimedia non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ etch-proposed-updates contrib main main-debian-installer non-free
deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ etch-updates contrib main main-debian-installer non-free
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ new unknown
#-deb cdrom:[Debian GNU/Linux 4.0 r0a - Unofficial i386 1 (20070522)]/ unknown unknown



deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-21 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-20 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-19 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-18 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-17 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-16 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-15 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-14 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-13 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-12 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-11 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-10 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-9 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-8 20070407-11:55]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-7 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-6 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-5 20070407-11:55]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-4 20070407-11:55]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-3 20070407-11:55]/ etch main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-2 20070407-11:55]/ etch main

deb-src file:/home/sysadmin/unofficial_Repository etch contrib main main-debian-installer non-free
deb-src file:/home/sysadmin/unofficial_Repository etch-multimedia non-free
deb-src file:/home/sysadmin/unofficial_Repository new unknown
deb-src file:/home/sysadmin/unofficial_Repository unknown unknown
deb file:/home/sysadmin/unofficial_Repository etch contrib main main-debian-installer non-free
deb file:/home/sysadmin/unofficial_Repository etch-backports contrib main non-free
deb file:/home/sysadmin/unofficial_Repository etch-multimedia non-free
deb file:/home/sysadmin/unofficial_Repository etch-proposed-updates contrib main main-debian-installer non-free
deb file:/home/sysadmin/unofficial_Repository etch-updates contrib main main-debian-installer non-free
deb file:/home/sysadmin/unofficial_Repository new unknown
deb file:/home/sysadmin/unofficial_Repository unknown unknown

deb file:/home/sysadmin/pseudoarchiv/CD01 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD02 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD03 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD04 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD05 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD06 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD07 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD08 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD09 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD10 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD11 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD12 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD13 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD14 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD15 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD16 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD17 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD18 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD19 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD20 dummy dummy
deb file:/home/sysadmin/pseudoarchiv/CD21 dummy dummy







-- System Information:
Debian Release: 4.0
  APT prefers etch
  APT policy: (500, 'etch'), (90, 'etch-proposed-updates')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  debian-archive-keyring      2007.02.19   GnuPG archive keys of the Debian a
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information

-- 
Bitte in die Adressierung auch meinen |Please put my full name also into
Vor- u. Nachnamen stellen z.B.        |the recipient like
Friedhelm Waitzmann <xxx@example>, (Friedhelm Waitzmann) xxx@example,
"Waitzmann, Friedhelm" <xxx@example>


--- End Message ---
--- Begin Message ---
Hi,

On Sat, Jun 23, 2007 at 01:44:07AM +0200, Friedhelm Waitzmann wrote:
> Add the first Official Etch CD for example to the sources.list
> using »apt-cdrom add«.  It will show up as follows:

So, 8 years later doing bugtriage I have a hard time getting an etch CD, so I
should do the next best thing and try with a current CD, but given that I
haven't got a working cdrom drive in this machine I can't do that… so I did the
next next best thing and try it with our (relatively new compared to this bug
report) testcases, which can 'fake' a cdrom for testing and with these, I can
not reproduce it. Also, mounting an ISO and adding it with apt-cdrom (as it
deals with "usbsticks", too) works.

So, the general problem is either fixed now OR it was a problem with the
etch cds. In either case, the problem seems to be gone now and therefore
I am closing this bugreport, but if you can still reproduce this bug
feel free to reopen the bug!


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: