You are not logged in.

#1 2012-02-07 15:43:24

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

[solved] Pacman -Qm lists packages needed by gnome-shell as foreign

Dear Archers
Below is the output of pacman -Qm command

[root@KRISHNA san2ban]# pacman -Qm
cdrkit-libre 1.1.11-2
evolution-webcal 2.32.0-1
file-roller-libre 3.2.0-1
ghostscript-libre 9.02-2
gnome-system-tools 3.0.0-2
lame-libre 3.98.4-3
liboobs 3.0.0-1
licenses-libre 2.8-1
p7zip-libre 9.20.1-4
pacman-mirrorlist-libre 20110530-1
python2-libre 2.7.2-2
sdl-libre 1.2.14-7.1
system-tools-backends 2.10.2-1
thunderbird-libre 3.1.10-3
unarchiver 2.7.1-2
xorg-fonts-100dpi-libre 1.0.3-2
xorg-fonts-75dpi-libre 1.0.3-2
[root@KRISHNA san2ban]# pacman -Rsp7zip-libre
pacman: invalid option -- '7'
[root@KRISHNA san2ban]# pacman -Rs p7zip-libre
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: gnome-shell: requires unzip
[root@KRISHNA san2ban]# 

Archwiki says command  pacman -Qm lists foreign packages, installed manually. When I try to remove p7zip-libre, it says gnome-shell needs this. Surely, I have not installed these manually. Can some body clarify pl?

Last edited by San2ban (2012-02-09 13:29:02)


Satyam eva jayate

Registered linux user #535257

Offline

#2 2012-02-07 15:45:12

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] Pacman -Qm lists packages needed by gnome-shell as foreign

As the output suggests, p7zip-libre probably provides unzip. Unzip is in the official Arch repos.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2012-02-07 15:49:00

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved] Pacman -Qm lists packages needed by gnome-shell as foreign

But, pacman -Qm is supposed to list packages installed manually. I have not installed manually, any of the listed packages


Satyam eva jayate

Registered linux user #535257

Offline

#4 2012-02-07 16:05:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Pacman -Qm lists packages needed by gnome-shell as foreign

San2ban wrote:

But, pacman -Qm is supposed to list packages installed manually.

Not exactly, although this description is often used as a useful shorthand, what 'pacman -Qm' does is:

[karol@black ~]$ pacman -Qh | grep -- -m
  -m, --foreign        list installed packages not found in sync db(s) [filter]

The -libre packages look like they're from Parabola, not Arch, and thus are not in the official repos.

Last edited by karol (2012-02-07 16:07:34)

Offline

#5 2012-02-09 12:46:55

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved] Pacman -Qm lists packages needed by gnome-shell as foreign

Thanks, Karol
But when I try to remove P7zip, why does it say it is needed by gnome-shell? Pl. see the output pasted above


Satyam eva jayate

Registered linux user #535257

Offline

#6 2012-02-09 12:49:32

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] Pacman -Qm lists packages needed by gnome-shell as foreign

just do pacman -Rdd p7zip-libre and pacman -S unzip --asdeps

if p7zip-libre was packaged correctly, a simple pacman -S unzip --asdeps is enough and answer Y when it sais you want to remove the package


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2012-02-09 13:28:11

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: [solved] Pacman -Qm lists packages needed by gnome-shell as foreign

Thanks,  wonder

Cleaned up


Satyam eva jayate

Registered linux user #535257

Offline

Board footer

Powered by FluxBB