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

Re: apt-cache as normal user behaves weird



Raj Kiran Grandhi wrote:
> > LÉVAI Dániel wrote:
> >
> >     Hi!
> >
> >
> >     Why could it be, that when I use apt-cache search as a normal
> > user, its output is only a subset of the one when I'm running it as
> > root?
> >
> >     Like this:
> >     $ apt-cache search ia32
> >     ia32-libs - ia32 shared libraries for use on amd64 and ia64
> > systems # apt-cache search ia32
> >     elilo - Bootloader for systems using EFI-based firmware
> >
> >     ia32-apt-get - Apt-get and dpkg wrapper for on-the-fly
> > ia32-libs conversion ia32-archive - Create a local archive of
> > converted i386 debs for amd64 and ia64
> >
> >     ia32-libs - ia32 shared libraries for use on amd64 and ia64
> > systems ia32-libs-gtk - GTK+ ia32 shared libraries
> >     ia32-libs-tools - Tools for converting i386 debs for amd64 and
> > ia64 refit - graphical boot menu for ia32 and x64 EFI systems
> > microcode.ctl - Intel IA32/IA64 CPU Microcode Utility
>
> Check the permissions of the files in /var/lib/apt/lists. My guess is
> that some of the files are readable only by root.

Indeed. I had to check the permissions for a few files, 
and /etc/apt/sources.list had no o+r.

Thanks!

Daniel

-- 
LEVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1


Reply to: