It is currently Sat May 27, 2017 11:50 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 11:42 am 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
If you are seeing errors when upgrading live (frugal/persistence) like this

Code:
Preconfiguring packages ...
(Reading database ... 165369 files and directories currently installed.)
Preparing to unpack .../perl_5.20.2-3+deb8u2_i386.deb ...
Unpacking perl (5.20.2-3+deb8u2) over (5.20.2-3+deb8u1) ...
dpkg: error processing archive /var/cache/apt/archives/perl_5.20.2-3+deb8u2_i386.deb (--unpack):
unable to make backup link of `./usr/bin/pstruct' before installing new version: No such file or directory
Preparing to unpack .../libperl5.20_5.20.2-3+deb8u2_i386.deb ...
Unpacking libperl5.20 (5.20.2-3+deb8u2) over (5.20.2-3+deb8u1) ...
Preparing to unpack .../perl-base_5.20.2-3+deb8u2_i386.deb ...
Unpacking perl-base (5.20.2-3+deb8u2) over (5.20.2-3+deb8u1) ...
dpkg: error processing archive /var/cache/apt/archives/perl-base_5.20.2-3+deb8u2_i386.deb (--unpack):
unable to make backup link of `./usr/bin/perl' before installing new version: No such file or directory
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/perl_5.20.2-3+deb8u2_i386.deb
/var/cache/apt/archives/perl-base_5.20.2-3+deb8u2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Next boot live with cheat plink and at desktop

apt-get -f install

From now on antiX will have plink enabled by default (to avoid such problems). If user wants to disable it, then a noplink cheat can be used.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 4:38 pm 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
anticapitalista wrote:
If you are seeing errors when upgrading live (frugal/persistence)...
Does this only affect those systems running antiX live or is it also relevant to systems using a conventional hard disk installation?

anticapitalista wrote:
From now on antiX will have plink enabled by default (to avoid such problems). If user wants to disable it, then a noplink cheat can be used.
To help make a balanced decision on whether to enable or disable plink it will be useful to know something about the purpose plink serves in a default antiX, perhaps the use case description.


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 5:11 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2131
SamK wrote:
anticapitalista wrote:
If you are seeing errors when upgrading live (frugal/persistence)...
Does this only affect those systems running antiX live or is it also relevant to systems using a conventional hard disk installation?

anticapitalista wrote:
From now on antiX will have plink enabled by default (to avoid such problems). If user wants to disable it, then a noplink cheat can be used.
To help make a balanced decision on whether to enable or disable plink it will be useful to know something about the purpose plink serves in a default antiX, perhaps the use case description.


This only applies to live/frugal. plink is an option of the aufs file system. it has something to do with the way the the filesystem handles links.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 5:17 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
Only affects running live, not installed.

plink is connected to aufs (which is used to allow users to install apps when running during the live session). It stans for pseudo-link. Tech details here.

http://aufs.sourceforge.net/aufs.html

Anyhow, skidoo had requested we default with noplink to save space and RAM usage when running/installing live.
There didn't appear to be any problems, until we noticed this bug. Not pleasant. Not using noplink does not make sense (now that we know) as a default choice.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 6:40 pm 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
Thanks both.

Because it affects only live running, will plink default to enabled only when running live and default to disabled when conventionally installed to disk?

If it is enabled for both live and installed, is there any downside or penalty to it being enabled on disk installations?


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 6:52 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
Code:
If it is enabled for both live and installed, is there any downside or penalty to it being enabled on disk installations?


None that we are aware of

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 6:53 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2131
SamK wrote:
Thanks both.

Because it affects only live running, will plink default to enabled only when running live and default to disabled when conventionally installed to disk?

If it is enabled for both live and installed, is there any downside or penalty to it being enabled on disk installations?



Since installed does not use aufs, there is no effect either way.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 6:54 pm 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
Thanks again.


Top
 Profile  
 
 Post subject: Re: live persistence upgrade errors
PostPosted: Wed Jan 20, 2016 7:53 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1143
Thanks for preserving the option to choose aufs noplink via cheatcode. At this point though, overlayfs seems completely stable
and it supports multiple writable branches, so I'm migrating away from aufs.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred