You are not logged in.

#1 2010-12-26 05:22:15

canhsiao
Member
Registered: 2010-12-04
Posts: 4

networkmanager not working on wireless net

I updated the whole system the other day, but it turned out that networkmanager and the applet won't work on wireless net.
ifconfig+iwconfig+iwlist work well, so there should be only sth wrong with networkmanager or network-manager-applet. (my assumption)
I tried to update the two packages. but i got this

(2/2) checking for file conflicts                                           [##########################################] 100%
(1/2) upgrading networkmanager                                              [##########################################] 100%
warning: directory permissions differ on var/lib/NetworkManager/
filesystem: 755  package: 700
error: command failed to execute correctly
(2/2) upgrading network-manager-applet                                       [##########################################] 100%

Could anyone please tell me what is wrong,
thanks in advance.

Offline

#2 2011-01-03 12:32:24

bhadotia
Member
From: Karnal, India
Registered: 2008-12-09
Posts: 87

Re: networkmanager not working on wireless net

canhsiao wrote:

I updated the whole system the other day, but it turned out that networkmanager and the applet won't work on wireless net.
ifconfig+iwconfig+iwlist work well, so there should be only sth wrong with networkmanager or network-manager-applet. (my assumption)
I tried to update the two packages. but i got this

(2/2) checking for file conflicts                                           [##########################################] 100%
(1/2) upgrading networkmanager                                              [##########################################] 100%
warning: directory permissions differ on var/lib/NetworkManager/
filesystem: 755  package: 700
error: command failed to execute correctly
(2/2) upgrading network-manager-applet                                       [##########################################] 100%

Could anyone please tell me what is wrong,
thanks in advance.

I also got the same error. But I was just trying to configure networkmanager after installing it. At the first time I installed it I did not get any error. But when I reinstalled it after failing to configure it properly the error showed up. I did:

chmod 700 /var/lib/NetworkManager

..immediately after getting the error.
Though now everything is configured correctly and network manager is working fine for me I still get the same error if I try to reinstall networkmanager:

[abhishek@Gaurachand ~]$ sudo pacman -S networkmanager
warning: networkmanager-0.8.3-0.20101130 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): networkmanager-0.8.3-0.20101130

Total Download Size:    0.00 MB
Total Installed Size:   3.88 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                  [#############] 100%
(1/1) upgrading networkmanager                     [#############] 100%
error: command failed to execute correctly

Offline

#3 2011-01-03 12:43:25

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: networkmanager not working on wireless net

When you install something that is already installed you are simply drawing from your own systems package cache

As shown above, nothing is downloaded

Clean cache and try again

MrG


Mr Green

Offline

#4 2011-01-03 17:10:11

bhadotia
Member
From: Karnal, India
Registered: 2008-12-09
Posts: 87

Re: networkmanager not working on wireless net

Mr Green wrote:

When you install something that is already installed you are simply drawing from your own systems package cache

As shown above, nothing is downloaded

Clean cache and try again

MrG

The problem is not that. Try and understand the error message appears when when the package is inatalled not when it is downloaded. Logically even if I were to clean the cache and install networkkmanager again after downloading it fresh the error message will still appear. Nonetheless I will follow your suggestion and post back when I'm on Arch again..

Offline

#5 2011-01-04 00:05:55

bhadotia
Member
From: Karnal, India
Registered: 2008-12-09
Posts: 87

Re: networkmanager not working on wireless net

Mr Green wrote:

When you install something that is already installed you are simply drawing from your own systems package cache

As shown above, nothing is downloaded

Clean cache and try again

MrG

I tried your suggestion and unistalled networkmanager along with the kde-plasma-applet. I restarted the laptop and connected to my wieless router using netcfg. Cleared the cache of uninstalled packages.

bhadotia wrote:

The problem is not that. Try and understand the error message appears when when the package is inatalled not when it is downloaded. Logically even if I were to clean the cache and install networkkmanager again after downloading it fresh the error message will still appear. Nonetheless I will follow your suggestion and post back when I'm on Arch again..

Well you know what it actually worked out. After cleaning the cache:

sudo pacman -S kdeplasma-applets-networkmanagement 
resolving dependencies...
looking for inter-conflicts...

Targets (2): networkmanager-0.8.3-0.20101130
             kdeplasma-applets-networkmanagement-svn1192135-1

Total Download Size:    1.15 MB
Total Installed Size:   6.21 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 networkmanager-0.8...   577.8K  180.7K/s 00:00:03 [#############] 100%
 kdeplasma-applets-...   603.9K  186.6K/s 00:00:03 [#############] 100%
checking package integrity...
(2/2) checking for file conflicts                  [#############] 100%
(1/2) installing networkmanager                    [#############] 100%
Optional dependencies for networkmanager
    modemmanager: for modem management service
    dhclient: alternative DHCP/DHCPv6 client
    iptables: Connection sharing
    dnsmasq: Connection sharing
    bluez: Bluetooth support
(2/2) installing kdeplasma-applets-networkmana...  [#############] 100%

But ofcourse, the problem was not that the packages were being picked up from the local cache. But I think we were getting the error because when network manager was reinstalled above it was already running as a daemon (background process). But when I reinstalled it this time it was not running on the system so the installation went smoothly.

Offline

Board footer

Powered by FluxBB