LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-06-2012, 12:13 PM   #1
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431
Blog Entries: 32

Rep: Reputation: 3
[EDIT] updating debian lenny to squeeze problem


Hi, I am trying to install etherwake on a debian arm machine, I am not exactly sure of the make, but from the apt-get command, the sources show lenny in the url. I have tried to use the default package finder apt-get but it returns a 404 error. I guess I have to find it by hand to install it. Can anyone give me the direct url?
http://packages.debian.org/search?keywords=etherwake
Thanks,
Ted

Last edited by ted_chou12; 10-07-2012 at 02:49 AM.
 
Old 10-06-2012, 02:13 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by ted_chou12 View Post
but from the apt-get command, the sources show lenny in the url.
Lenny (old stable) is no longer supported, your best bet would be to update to Squeeze (stable) or maybe even, if you are adventurous, Wheezy (testing).
 
1 members found this post helpful.
Old 10-07-2012, 01:56 AM   #3
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431

Original Poster
Blog Entries: 32

Rep: Reputation: 3
I have tried to upgrade the dist, but I am facing some troubles:
Code:
sh-3.2# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libsasl2
The following packages will be upgraded:
  libsasl2-2
1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 106kB of archives.
After this operation, 65.5kB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://archive.debian.org lenny/main libsasl2-2 2.1.22.dfsg1-23+lenny1 [106kB]
Fetched 106kB in 9s (11.2kB/s)
(Reading database ...
dpkg: serious warning: files list file for package `libsasl2-2' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `libsasl2' missing, assuming package has no files currently installed.
22967 files and directories currently installed.)
Removing libsasl2 ...
(Reading database ...
dpkg: serious warning: files list file for package `libsasl2-2' missing, assuming package has no files currently installed.
22967 files and directories currently installed.)
Preparing to replace libsasl2-2 2.1.22.dfsg1-8 (using .../libsasl2-2_2.1.22.dfsg1-23+lenny1_arm.deb) ...
Unpacking replacement libsasl2-2 ...
Setting up openssh-client (1:5.1p1-5) ...
update-alternatives: internal error: /var/lib/dpkg/alternatives/rlogin corrupt: invalid update mode
dpkg: error processing openssh-client (--configure):
 subprocess post-installation script returned error exit status 2
Setting up lighttpd (1.4.19-5+lenny3) ...
update-alternatives: internal error: /var/lib/dpkg/alternatives/spawn-fcgi corrupt: invalid update mode
dpkg: error processing lighttpd (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of openssh-server:
 openssh-server depends on openssh-client (= 1:5.1p1-5); however:
  Package openssh-client is not configured yet.
dpkg: error processing openssh-server (--configure):
 dependency problems - leaving unconfigured
Setting up libsasl2-2 (2.1.22.dfsg1-23+lenny1) ...
Errors were encountered while processing:
 openssh-client
 lighttpd
 openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A reconfigure still ends in error:
Code:
sh-3.2# dpkg --configure -a
Setting up lighttpd (1.4.19-5+lenny3) ...
update-alternatives: internal error: /var/lib/dpkg/alternatives/spawn-fcgi corrupt: invalid update mode
dpkg: error processing lighttpd (--configure):
 subprocess post-installation script returned error exit status 2
Setting up openssh-client (1:5.1p1-5) ...
update-alternatives: internal error: /var/lib/dpkg/alternatives/rlogin corrupt: invalid update mode
dpkg: error processing openssh-client (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of openssh-server:
 openssh-server depends on openssh-client (= 1:5.1p1-5); however:
  Package openssh-client is not configured yet.
dpkg: error processing openssh-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lighttpd
 openssh-client
 openssh-server
Code:
sh-3.2# apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  libgtk2.0-dev libsdl1.2debian mplayer openbsd-inetd
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 14.6MB disk space will be freed.
Do you want to continue [Y/n]? Y
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
Thanks,
Ted

Last edited by ted_chou12; 10-07-2012 at 02:35 AM.
 
Old 10-07-2012, 03:07 AM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
I have always found upgrading to be problematic. If I were you I'd download either a CD or a DVD and do a fresh install.
 
Old 10-07-2012, 03:42 AM   #5
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431

Original Poster
Blog Entries: 32

Rep: Reputation: 3
Thanks for your reply, but I am not exactly sure how to make a fresh install in the chroot environment?
Code:
sh-3.2# uname -a
Linux nas 2.6.16-gazineu #13 Mon Jun 21 21:43:59 BRT 2010 armv4l GNU/Linux
I got the old chroot lenny from the google group, but it didn't have a new one. The original environment is very very limited! I mean it:
Code:
# ls /bin
addgroup       dmesg          kill           pidof          ssh
adduser        dropbear       ln             ping           sync
ash            dropbearkey    login          ps             tar
busybox        dropbearmulti  ls             pwd            touch
cat            echo           mkdir          rm             true
chgrp          egrep          mknod          rmdir          umount
chmod          false          mktemp         rsync          uname
chown          fgrep          more           scp            usleep
codepages      getopt         mount          sed            vi
cp             grep           mv             sftp-server    vsftpd
date           gunzip         netstat        sh             watch
dbclient       gzip           nice           sleep          zcat
dd             haserl         nmbd           smbd
delgroup       hostname       ntfs-3g        smbencrypt
deluser        inadyn         ntpclient      smbpasswd
df             ip             p910nd         smbshare
# ls /sbin
blkid        ifconfig     mdev         mkswap       route        vconfig
e2fsck       init         mkdosfs      modprobe     swapoff      watchdog
fdisk        insmod       mke2fs       pivot_root   swapon
findfs       klogd        mkfs.ext2    poweroff     switch_root
getty        logread      mkfs.ext3    reboot       syslogd
halt         lsmod        mkfs.vfat    rmmod        udhcpc
# ls /usr/sbin
chpasswd     crond        httpd        rdate        telnetd
chroot       ftpd         mtd_debug    readprofile
# ls /usr/bin
[           dirname     hexdump     pkill       tcpsvd      uniq
[[          du          killall     printf      tee         uptime
awk         env         logger      readlink    test        wc
basename    expr        md5sum      reset       tftp        wget
clear       find        mkpasswd    sort        time        which
cmp         free        nc          split       top         whoami
cryptpw     ftpget      nohup       strings     tr          xargs
cut         ftpput      passwd      tac         traceroute  yes
dc          head        pgrep       tail        tty
There arent much functions for me to use, its a very small nas, in addition, the original space doesnt let me install anything cause its partitioned to be 100%
Code:
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 2688      2688         0 100% /
tmpfs                     2048       496      1552  24% /var
tmpfs                     2048         0      2048   0% /tmp
tmpfs                     1024         0      1024   0% /usb
mdev                      1024         0      1024   0% /dev
tmpfs                     1024       328       696  32% /etc
Thanks,
Ted
 
Old 10-07-2012, 04:14 AM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Sorry Ted but I can't help you on that. I've never had to install in a chroot environment. I'll be watching this thread so I can learn with you though. Good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to add Debian Squeeze to your Debian Lenny FAI install server LXer Syndicated Linux News 0 09-08-2011 07:21 PM
LXer: Installing Nagios On Debian Lenny And Monitoring A Debian Lenny Server LXer Syndicated Linux News 0 03-08-2011 01:40 AM
Compiling debian arm for NSLU2 - arm-linux-gnueabi-objdump not found ergosteur Linux - Kernel 3 10-30-2010 11:24 AM
[SOLVED] Debian Lenny : how to install xfce 4.6 instead of lenny's 4.4 cloacms Linux - Newbie 28 12-19-2009 12:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration