You are not logged in.

#1 2013-03-18 17:09:09

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

filesystem upgrade failed?

Hi there,
upon latest upgrade, I got :

( 8/24) upgrading filesystem                                                                                   [##################################################################] 100%
warning: /etc/gshadow installed as /etc/gshadow.pacnew                                                                                                                                  
warning: /etc/group installed as /etc/group.pacnew                                                                                                                                      
warning: directory permissions differ on root/                                                                                                                                          
filesystem: 755  package: 750                                                                                                                                                           
error: extract: not overwriting dir with file var/run                                                                                                                                   
error: problem occurred while upgrading filesystem                                                                                                                                      
error: could not commit transaction                                                                                                                                                     
error: failed to commit transaction (transaction aborted)                                                                                                                               
Errors occurred, no packages were upgraded. 

When I try to upgrade filesystem alone, I get

(1/1) upgrading filesystem                                                                                     [##################################################################] 100%
warning: directory permissions differ on root/
filesystem: 755  package: 750
error: extract: not overwriting dir with file var/run
error: problem occurred while upgrading filesystem
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

1) should I worry about gshadow and group?
2) lokks like filesystem upgrade is incomplete, should I force upgrade or manually change permissions, or else?

Thanks for any guidance.


what goes up must come down

Offline

#2 2013-03-18 17:51:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: filesystem upgrade failed?

error: extract: not overwriting dir with file var/run

This is the problem, not the permissions or pacnews. /var/run should be a symlink to /run, but on your system it's a dir. Take a look at what's in there.

Last edited by Scimmia (2013-03-18 17:52:11)

Online

#3 2013-03-18 18:05:04

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: filesystem upgrade failed?

# ls -l /var/run
total 0
drwxr-xr-x 3 root root 80 Mar 18 19:04 dhcpcd

shoud I make a symlink to /run?

Last edited by brazzmonkey (2013-03-18 18:06:07)


what goes up must come down

Offline

#4 2013-03-18 18:11:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: filesystem upgrade failed?

I would just move the dhcpcd dir to /run, rmdir /var/run, then upgrade. dhcpcd might not like it until the symlink is in place, but it shouldn't cause problems. Since you already have the filesystem package downloaded, even if dhcpcd does cause problems you'll be able to complete the upgrade and be running like normal.

Online

#5 2013-03-18 18:24:32

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: filesystem upgrade failed?

OK, thanks.
What about the permission warning. Should I care?


what goes up must come down

Offline

#6 2013-03-18 18:29:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: filesystem upgrade failed?

I don't know, why do you have /root/ as readable/executable by everyone in the first place?

Online

#7 2013-03-18 18:36:41

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: filesystem upgrade failed?

No idea.


what goes up must come down

Offline

Board footer

Powered by FluxBB