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

Bug#228097: apt doesn't quote package filenames passed to dpkg



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 16 January 2004 18:23, Matt Zimmerman wrote:
> On Fri, Jan 16, 2004 at 05:41:24PM +0200, Martin Tsachev wrote:
> > If I move some files from /var/cache/apt/archives and symlink to them I
> > can uninstall and then install again a package only if the parent
> > directory does not contain spaces. If there are spaces apt will fail to
> > quote the filename and dpkg errors.
>
> Can you show me an example of what you mean?  I do not think that apt
> would dereference the symlinks at all.


apt-get install mc

installed, I get /var/cache/apt/archives/mc-something.deb

now move mc-something.deb in /data/backup/debian 2004-01-16/
ln -sf "/backup/debian 2004-01-16/mc-something.deb" /var/cache/apt/archives/
mc-something.deb

apt-get remove mc


Now if you do apt-get install mc again it will fail.

E: I wasn't able to locate a file for the mc package. This might mean you need 
to manually fix this package. (due to missing arch)

- -- 
Martin Tsachev
http://martin.f2o.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFACBi4ypytlz9Py3wRAvAZAJ0eRvBVRgxAgiANs7v4HFKub4sDzACgmTXe
LlorjK70w8iJV6gGZAFzLmk=
=QUVQ
-----END PGP SIGNATURE-----



Reply to: