Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by ted_chou12
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).
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.
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%
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.