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

Re: apt has wrong links



On 7/16/06, Florian Kulzer <florian@molphys.leidenuniv.nl> wrote:
On Sun, Jul 16, 2006 at 07:38:52 -0400, Chuckk Hubbard wrote:
> On 7/16/06, Florian Kulzer wrote:
> >On Sun, Jul 16, 2006 at 03:12:44 -0400, Chuckk Hubbard wrote:
> >> It is still using the files in /var/lib/apt/lists/, it hasn't updated
> >> them, and there is nothing in /partial.
>
>
> >>
> >> I'm searching the files in the folder now and seeing the faulty info
> >> on hotplug; but one of the other files has the correct, later version;
> >> somehow it's only showing me the old one.
> >
> >Whoa, you either have some hardware problem which makes your computer
> >act in a semi-chaotic manner, or you are poking at too many things at
> >once. I think you should ignore the resolution, jack, etc. problems for
> >the moment and focus on the udev/hotplug thing first. (and maybe there is
> >an apt configuration problem...)
>
> BTW, I temporarily fixed the problem... I found two headings for
> "hotplug" in two different directories, and changed the one with the
> odd version number to something like "hotplug-****ing-****ard," at
> which point Synaptic showed them as two hotplugs, and I was able to
> select the recent one.
>
> >
> >I propose that you do the following:
> >
> >1) Run "apt-get update" as root. Does this work? If you get any error
> >   messages post them here.
>
> no error messages; it is still accessing the Italian server.
>
> >
> >2) Try "apt-get install -f" next. Post the entire output of this command.
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> >
> >3) Likewise, we need to know the result of "apt-cache policy hotplug
> >   udev". (You can run this command as a normal user.)
>
> hotplug:
>  Installed: 0.0.20040329-22
>  Candidate: 0.0.20040329-22
>  Version Table:
> *** 0.0.20040329-22 0
>        500 http://ftp.it.debian.org sarge/main Packages
>        100 /var/lib/dpkg/status
> udev:
>  Installed: 0.056-3
>  Candidate: 0.056-3
>  Version Table:
> *** 0.056-3 0
>        500 http://ftp.it.debian.org sarge/main Packages
>        100 /var/lib/dpkg/status
>
> ====================
> (due to me hunting down hotplug)
>
> >
> >4) Finally, we need to know what you have in /etc/apt/sources.list. If
> >   you have the files /etc/apt/apt.conf and/or /etc/apt/preferences post
> >   their contents as well.
>
>
> OK, sources.list (I added the bottom 4 earlier, and commented out two
> when they caused problems; before I touched the file there were 3
> identical sets of addresses, commented out except the bottom one of
> each set):
> ===========================

[ ... removed entries which were commented out ... ]

> # A/DeMuDi stable
> deb http://demudi.agnula.org/packages/demudi/ stable main
>
> # Debian stable
> deb http://ftp.it.debian.org/debian/ sarge main
>
> # Debian testing
> # deb http://ftp.it.debian.org/debian/ etch main
>
> # A/DeMuDi development
> # deb http://demudi.agnula.org/packages/demudi/ testing main
> ===========================
>
> /etc/apt/preferences:
>
> Package: *
> Pin: release a=testing, o=Debian
> Pin-Priority: 501
>
> Package: *
> Pin: release a=unstable, o=Debian
> Pin-Priority: 101
>
> Package: *
> Pin: release o=AGNULA
> Pin-Priority: 1001
> ===========================
>
> There is also /etc/apt/apt.conf.d, with 70debconf and 80cdd in it...

I never used synaptic, therefore I cannot comment on your way of fixing
the problem; nevertheless, the output of the apt commands suggests that
your system is now in a consistent state and should be working.

You can change to another Sarge repository if you want; I would
furthermore include "contrib" and "non-free", e.g.

Cool, thanks, I did.  I don't think I'm changing repositories at this
point, now that it's working...
Can anyone tell me just what the error messages I was getting to start
with meant?

---------------------------------
W: Couldn't stat source package list http://demudi.agnula.org
demudi/main/updates Packages
(/var/lib/apt/lists/demudi.agnula.org_packages_demudi_dists_demudi_main_updates_binary-i386_Packages)
- stat (2 No such file or directory)
---------------------------------

There is one possible issue with the package pins in your apt
preferences: Since the agnola repository has such a high priority there
might be cases where the dependencies of agnola packages block security
updates in Sarge. However, since your machine is probably used as a
desktop computer for multimedia work (and not as a server), you should
be OK. Just make sure you are properly firewalled.

Will do.  Thanks a lot.
-Chuckk



Reply to: