workaround: missing /usr/lib/dpkg/methods/disk/setup ?
Debian-Dpkg:
FWIW, adding symlinks cause it all to work again. I haven't been able
to make it work by re-adding any package, only by manually softlinking.
> henhouse:~# cd /usr/lib/dpkg/methods/disk
> henhouse:/usr/lib/dpkg/methods/disk# ln -s /usr/lib/dpkg/disk/setup .
> henhouse:/usr/lib/dpkg/methods/disk# dselect update
> dselect: unable to access method script `/usr/lib/dpkg/methods/disk/update': No such file or directory
> henhouse:/usr/lib/dpkg/methods/disk# ln -s /usr/lib/dpkg/disk/update .
> henhouse:/usr/lib/dpkg/methods/disk# dselect update
> dselect: unable to access method script `/usr/lib/dpkg/methods/disk/install': No such file or directory
> henhouse:/usr/lib/dpkg/methods/disk# ln -s /usr/lib/dpkg/disk/install .
> henhouse:/usr/lib/dpkg/methods/disk# dselect update
> dselect: unable to read method options file `/usr/lib/dpkg/methods/disk/names': No such file or directory
> henhouse:/usr/lib/dpkg/methods/disk# ln -s /usr/lib/dpkg/disk/names .
> henhouse:/usr/lib/dpkg/methods/disk# dselect update
> Get:1 http://http.us.debian.org unstable/main Packages [2010kB]
> Get:2 http://non-us.debian.org unstable/non-US/main Packages [36.5kB]
> Get:3 http://non-us.debian.org unstable/non-US/main Release [89B]
> Hit http://non-us.debian.org unstable/non-US/contrib Packages
> Get:4 http://non-us.debian.org unstable/non-US/contrib Release [92B]
> Hit http://non-us.debian.org unstable/non-US/non-free Packages
> ...
Allan
Allan Clark wrote:
>
> Hello;
>
> I didn't see this listed as a bug, but I want to make sure I'm not the
> cause of the error. dselect may be calling an incorrect script that is
> no longer provided by dpkg, or calling an incorrect pathname but the
> error may not show up if tested on older systems.
>
> > henhouse:~# dselect update
> > dselect: unable to access method script `/usr/lib/dpkg/methods/disk/setup': No such file or directory
>
> OK, missing file. Who owns it?
>
> > henhouse:~# dpkg -S /usr/lib/dpkg/methods/disk/setup
> > dpkg: /usr/lib/dpkg/methods/disk/setup not found.
>
> Funny... but this happened after I updated dpkg:
> > henhouse:~# dpkg -l dselect dpkg
> > Desired=Unknown/Install/Remove/Purge/Hold
> +++-===========================-===========================-=======..
> > ii dselect 1.10.2 a use..
> > ii dpkg 1.10.2 Packa..
>
> This URL shows that /usr/lib/dpkg/methods/disk/setup is part of dpkg:
> http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=dpkg&version=unstable
>
> ...but dpkg -S shows that no one owns this file.
>
> ...but curiously enough:
> > henhouse:~# dpkg -S /usr/lib/dpkg/disk/setup
> > dselect: /usr/lib/dpkg/disk/setup
>
> Is dselect calling the incorrect script or file here?
>
> Allan
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: