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

Bug#464846: problem with apt and bash completition



Package: apt
Version: 0.7.10


I use a local repository, /root/debs/, only for my custom made kernels(made with make-kpkg). after purging a kernel, named foo for this example, i remove it from /root/debs, then

i run "dpkg-scanpackages . /dev/null | gzip > Packages.gz" and then an apt-get update. After that, package foo is not anymore a package in apt.

Then i'm typing apt-get install linux-image and press TAB, and the list of bash completition gives me a list containing package foo. as i searched bash completition of apt, works with command "apt-cache pkgnames".

so when i try directly "apt-cache search pkgnames |grep linux-image", foo is once again included in the list. foo is included even when i add "--installed" in the previous command.


by typing dpkg -l or apt-cache search linux-image, package foo is not in the list, as it sould.


i've been using local repositories for years, and this seems to be a bug, cause it never happened again to me.




Regards,

M.G.




Reply to: