Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Nov 18, 2017 12:08 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Tue Dec 12, 2006 4:26 pm 
Offline
Newbie

Joined: Tue Dec 12, 2006 4:14 pm
Posts: 6
Hello,

I flashed freelink image. After that I install proftpd. Now I try to upgrade my installation.

First I do it apt-get update
then apt-get upgrade

After that I get error message:
/tmp/proftpd.config.4821: line 16: 488 Segmentation fault dpkg --compare-versions "$version" lt "1.2.8-1"
E: Sub-process /usr/bin/dpkg received a segmentation fault.

Then I try remove it but I can not do anything.

So do you have any hits how I can solve that problem?

Thanks,
Petri


Top
   
PostPosted: Tue Dec 12, 2006 5:21 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
What does your /etc/apt/sources.list look like?


Top
   
PostPosted: Tue Dec 12, 2006 5:30 pm 
Offline
Newbie

Joined: Tue Dec 12, 2006 4:14 pm
Posts: 6
Here is the /etc/apt/sources.list
deb http://mirrors.kernel.org/debian/ stable main contrib non-free
deb-src http://mirrors.kernel.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free


Petri


Top
   
PostPosted: Tue Dec 12, 2006 8:12 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Looks good. Hmm.

I would probably move /etc/proftpd out of the way, then "dpkg --purge proftpd ; apt-get install proftpd", and hope that will fix it.


Top
   
PostPosted: Wed Dec 13, 2006 1:57 pm 
Offline
Newbie

Joined: Tue Dec 12, 2006 4:14 pm
Posts: 6
Not succeed.

if I type command "dpkg --purge proftpd. I get answer segmentation fault.

If I try to remove any package I get answer:
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
proftpd* proftpd-common* webmin-proftpd*
0 upgraded, 0 newly installed, 3 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 2445kB disk space will be freed.
Do you want to continue? [Y/n] y
E: Sub-process /usr/bin/dpkg received a segmentation fault.

How I know which package is not fully installed or removed?

Thanks,
Petri


Top
   
PostPosted: Wed Dec 13, 2006 2:05 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
It's a very bad error, not related to proftpd but the package management system itself. Try:

rm /var/cache/apt/*.bin
apt-get update
apt-get dist-upgrade -y
apt-get --reinstall install dpkg
apt-get --reinstall install proftpd


Top
   
PostPosted: Wed Dec 13, 2006 4:54 pm 
Offline
Newbie

Joined: Tue Dec 12, 2006 4:14 pm
Posts: 6
Thanks,

But result is same than earlier. "segmentation fault" After apt-get dist-upgrade -y

Also same result after reinstall.

Petri


Top
   
PostPosted: Wed Dec 13, 2006 6:06 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
What do you get with:

dpkg --remove proftpd

Have you tried purging the cache:

apt-get clean

then do the:

rm /var/cache/apt/*.bin

and manually remove proftpd from /etc...

then perform

apt-get update
apt-get upgrade
apt-get install dpkg --reinstall

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Thu Dec 14, 2006 2:30 pm 
Offline
Newbie

Joined: Tue Dec 12, 2006 4:14 pm
Posts: 6
No succeed. Here is the result.

root@BUFFALO:~# dpkg --remove proftpd
Segmentation fault


root@BUFFALO:/etc# apt-get update
Get:1 http://security.debian.org stable/updates/main Packages [375kB]
Hit http://security.debian.org stable/updates/main Release
Get:2 http://mirrors.kernel.org stable/main Packages [4351kB]
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Hit http://security.debian.org stable/updates/main Sources
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Sources
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Sources
Hit http://security.debian.org stable/updates/non-free Release
Get:3 http://mirrors.kernel.org stable/main Release [97B]
Get:4 http://mirrors.kernel.org stable/contrib Packages [59.6kB]
Get:5 http://mirrors.kernel.org stable/contrib Release [100B]
Get:6 http://mirrors.kernel.org stable/non-free Packages [43.6kB]
Get:7 http://mirrors.kernel.org stable/non-free Release [101B]
Get:8 http://mirrors.kernel.org stable/main Sources [1322kB]
Get:9 http://mirrors.kernel.org stable/main Release [97B]
Get:10 http://mirrors.kernel.org stable/contrib Sources [24.8kB]
Get:11 http://mirrors.kernel.org stable/contrib Release [100B]
Get:12 http://mirrors.kernel.org stable/non-free Sources [23.5kB]
Get:13 http://mirrors.kernel.org stable/non-free Release [101B]
Fetched 6200kB in 41s (150kB/s)
Reading Package Lists... Done
root@BUFFALO:/etc# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
info proftpd proftpd-common tar
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1305kB of archives.
After unpacking 4096B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org stable/updates/main tar 1.14-2.3 [520kB]
Get:2 http://security.debian.org stable/updates/main info 4.7-2.2sarge2 [198kB]
Get:3 http://security.debian.org stable/updates/main proftpd 1.2.10-15sarge3 [384kB]
Get:4 http://security.debian.org stable/updates/main proftpd-common 1.2.10-15sarge3 [202kB]
Fetched 1305kB in 2s (580kB/s)
Preconfiguring packages ...
/tmp/proftpd.config.4911: line 16: 497 Segmentation fault dpkg --compare-versions "$version" lt "1.2.8-1"
E: Sub-process /usr/bin/dpkg received a segmentation fault.
root@BUFFALO:/etc# apt-get install dpkg --reinstall
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 1931kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.kernel.org stable/main dpkg 1.10.28 [1931kB]
Fetched 1931kB in 12s (156kB/s)
E: Sub-process /usr/bin/dpkg received a segmentation fault.
root@BUFFALO:/etc#

Petri


Top
   
PostPosted: Thu Dec 14, 2006 2:52 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Is there anything of any meaning in the syslog?

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Fri Dec 15, 2006 5:09 pm 
Offline
Newbie

Joined: Tue Dec 12, 2006 4:14 pm
Posts: 6
I can't find anything for syslog.

I solve the problem by installing whole system again.

Thanks for help,
Petri


Top
   
PostPosted: Fri Dec 15, 2006 5:13 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Sorry we could not offer any further help. Hopefully the re-install is okay.

_________________
LS used as PVR and streaming source


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 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:
Powered by phpBB® Forum Software © phpBB Limited