View previous topic :: View next topic |
Author |
Message |
nemisis
Joined: 06 May 2006 Posts: 3 Location: Indiana
|
Posted: Sat May 06, 2006 2:30 am Post subject: Apt-g |
|
|
Hi,
am I right in understanding that apt-get doesn't currently work on DSL-N?
If so, is there plans to get it working soon?
I'm in a bit of a pickle that my wlan works in DSL-N but not DSL and
apt-get works(would work) in DSL not DSL-N.
Not trying to put pressure on you guys or belittle your damn fine work, I need to get something
working ~1 month and if I know I can't use DSL at present then I'd better look elsewhere.
It would be so cool to have an ASOS (Application Specific OS)!
(I need to get iwidgets and libftdi working, if there's another way around, I'd be v .grateful?)
If you could help I'd be really apreciative.
Thanks.
PS Damn Small Linux - Not -- cool name but not if your a search engine |
|
Back to top |
|
|
Keeper of the Grove
Joined: 07 May 2006 Posts: 9 Location: Your Mother's house
|
Posted: Sun May 07, 2006 7:46 pm Post subject: |
|
|
I've been trying to get "apt" to work. I have installed (it is not working yet) it by downloading dsl-dpkg.dsl from the 50mb version of dsl. I installed it by running /etc/init.d/mkwriteable and /etc/init.d/mydsl-install. I had to copy (cp -Rp )/var/lib/apt and /var/cache/apt to dsl-n .
after that apt tries to work, but it has no network useability. I can ping anything I want on the network so I know my net. connection is working, I just cannot get apt resolve any net address. Some apt command I entered spit out something about "install-info" not being in my path. Are there any Debian gurus out there who can tell me why apt will not access the internet?
Thank you. |
|
Back to top |
|
|
Keeper of the Grove
Joined: 07 May 2006 Posts: 9 Location: Your Mother's house
|
Posted: Sun May 07, 2006 8:44 pm Post subject: |
|
|
I got apt-get to work! after doing all of the above I just copied my /etc/resolv.conf file (from Debian distro) to my dsl-n's /etc folder!
Beore I did that I updated apt manualy with dpkg including all depends from"stable" Debian. I hope this helps someone. |
|
Back to top |
|
|
Keeper of the Grove
Joined: 07 May 2006 Posts: 9 Location: Your Mother's house
|
Posted: Fri May 12, 2006 3:59 am Post subject: |
|
|
to get apt-get to work with no errors:
copy the following from 50mb dsl and put into DSL-N
/usr/sbin/install-info
/usr/sbin/dpkg-restore
(cp -Rp ) /var/lib/apt
(cp -Rp ) /var/cache/apt
copy /etc/resolv.conf from any debian distro or add ip addresses of DNS's your self in DSL-N's /etc/resolv.conf
do:
dpkg-restore
change /etc/apt/sources.list to use "stable" instead of "oldstable"
do:
apt-get update
get the mydsl extention - gnu-utils.dsl from the mydsl repository put in in / directory
and do:
tar -zxvf gnu-utils.dsl
(ignore warnings/errors from the following they should all go away after this is done)
apt-get install debconf
apt-get install perl
apt-get install apt-utils
This should make apt work with no eronious bad stuff. |
|
Back to top |
|
|
anaconda
Joined: 18 Apr 2006 Posts: 22 Location: Finland
|
Posted: Fri May 12, 2006 9:03 am Post subject: |
|
|
Cool.
I have to try that
thanks. |
|
Back to top |
|
|
jimihieu
Joined: 05 May 2006 Posts: 51
|
Posted: Mon May 15, 2006 9:27 pm Post subject: |
|
|
hi
i followed everything smoothly until the last 3 lines it give me these errors:
[code:1]
sbin/ifdown
sbin/ifup
sbin/insmod
sbin/lsmod
sbin/mkfs.minix
sbin/mkswap
sbin/modprobe
sbin/rmmod
sbin/route
sbin/swapoff
sbin/swapon
bin/cat
bin/chgrp
bin/chmod
bin/chown
bin/cp
bin/date
bin/dd
bin/df
bin/dmesg
bin/echo
bin/egrep
bin/false
bin/fgrep
bin/grep
bin/gzip
bin/kill
bin/ln
bin/mkdir
bin/mknod
bin/more
bin/mount
bin/mv
bin/netstat
bin/pidof
bin/ping
bin/ps
bin/pwd
bin/rm
bin/rmdir
bin/sed
bin/sh
bin/sleep
bin/stty
bin/sync
bin/tar
bin/touch
bin/true
bin/umount
bin/uname
bin/uncompress
bin/zcat
root@dslbox:/# apt-get install debconf
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
kernel-source-2.6.11: Depends: binutils but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a olution).
root@dslbox:/# apt-get install perl
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
kernel-source-2.6.11: Depends: binutils but it is not going to be installed
perl: Depends: perl-base (= 5.8.4-8sarge4) but 5.8.0-18 is to be installed
Depends: perl-modules (>= 5.8.4-8sarge4) but it is not going to be inst lled
Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-10 is to be installed
Depends: libdb4.2 but it is not going to be installed
Depends: libgdbm3 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a olution).
root@dslbox:/# apt-get install apt-utils
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
apt-utils: Depends: libdb4.2 but it is not going to be installed
Depends: libgcc1 (>= 1:3.4.1-3) but 1:3.3.2-0pre4 is to be install d
Depends: libstdc++5 (>= 1:3.3.4-1) but 1:3.3.2-0pre4 is to be inst lled
kernel-source-2.6.11: Depends: binutils but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a olution).
[/code:1]
Please help me how to solve.
thanx
[quote="Keeper of the Grove"]to get apt-get to work with no errors:
copy the following from 50mb dsl and put into DSL-N
/usr/sbin/install-info
/usr/sbin/dpkg-restore
(cp -Rp ) /var/lib/apt
(cp -Rp ) /var/cache/apt
copy /etc/resolv.conf from any debian distro or add ip addresses of DNS's your self in DSL-N's /etc/resolv.conf
do:
dpkg-restore
change /etc/apt/sources.list to use "stable" instead of "oldstable"
do:
apt-get update
get the mydsl extention - gnu-utils.dsl from the mydsl repository put in in / directory
and do:
tar -zxvf gnu-utils.dsl
(ignore warnings/errors from the following they should all go away after this is done)
apt-get install debconf
apt-get install perl
apt-get install apt-utils
This should make apt work with no eronious bad stuff.[/quote] |
|
Back to top |
|
|
nemisis
Joined: 06 May 2006 Posts: 3 Location: Indiana
|
Posted: Sat May 20, 2006 7:05 pm Post subject: Problems running dpkg-restore |
|
|
Hi,
I've tried following the instructions but /dev/root.old runs out of space whilst running
dpkg-restore
How do you make this bigger?
Thanks,
nemisis |
|
Back to top |
|
|
Keeper of the Grove
Joined: 07 May 2006 Posts: 9 Location: Your Mother's house
|
Posted: Wed May 24, 2006 6:12 pm Post subject: |
|
|
Well you got me on that /dev/root.old thing?!?!?
as far as getiing apt-get to work try using stable deb repository or even oldstable instead of testing or unstable (/etc/apt/sources.list) |
|
Back to top |
|
|
Keeper of the Grove
Joined: 07 May 2006 Posts: 9 Location: Your Mother's house
|
Posted: Wed May 24, 2006 6:18 pm Post subject: |
|
|
or try installing all of the packages that apt-get spit out by sayig "but is not going to be installed" You may have to download them to var/cache/apt/archives and do:
dpkg --force-depends -i *.deb
If you have all the depends sitting in that directory it should all wash out nicely in the end.
I will do this again this weekend 'cause I have to do another remaster, I'll add steps if I forgot to add them before, but I don't think I missed any. |
|
Back to top |
|
|
Keeper of the Grove
Joined: 07 May 2006 Posts: 9 Location: Your Mother's house
|
Posted: Sun May 28, 2006 9:56 pm Post subject: |
|
|
I just followed the following to the letter:
[quote="Keeper of the Grove"]to get apt-get to work with no errors:
copy the following from 50mb dsl and put into DSL-N
/usr/sbin/install-info
/usr/sbin/dpkg-restore
(cp -Rp ) /var/lib/apt
(cp -Rp ) /var/cache/apt
copy /etc/resolv.conf from any debian distro or add ip addresses of DNS's your self in DSL-N's /etc/resolv.conf
do:
dpkg-restore
change /etc/apt/sources.list to use "stable" instead of "oldstable"
do:
apt-get update
get the mydsl extention - gnu-utils.dsl from the mydsl repository put in in / directory
and do:
tar -zxvf gnu-utils.dsl
(ignore warnings/errors from the following they should all go away after this is done)
apt-get install debconf
apt-get install perl
apt-get install apt-utils
This should make apt work with no eronious bad stuff.[/quote]
with one exception - after
[quote]
copy /etc/resolv.conf from any debian distro or add ip addresses of DNS's your self in DSL-N's /etc/resolv.conf[/quote]
I did: [code:1]
chroot /path/to/dslremaster/directory
mount -t proc proc /proc[/code:1] |
|
Back to top |
|
|
Juanito
Joined: 11 Sep 2006 Posts: 88 Location: Dubai, U.A.E.
|
Posted: Fri Sep 15, 2006 10:31 am Post subject: Can't copy the Files from 50MB DSL |
|
|
Sorry to add to this topic months after it started but...
Whilst I can figure out how to "unpack" the 50MB DSL *.iso file, I cannot figure out how to "unpack" the Knoppix image file /KNOPPIX/knoppix to get at the required files/directories to enable apt-get in DSL-N, so...
I booted up in the 50MB DSL from USB and tried to copy the required files but got the following errors:
root@box:~# cp -Rp /var/lib/apt /mnt/sdb2/apt-get
cp: failed to preserve ownership for `/mnt/sdb2/apt-get/apt/lists/partial': Operation not permitted
cp: failed to preserve ownership for `/mnt/sdb2/apt-get/apt/lists': Operation not permitted
cp: failed to preserve ownership for `/mnt/sdb2/apt-get/apt': Operation not permitted
root@box:~#
Could anybody help me out with how to:
1. "Unpack" the file /KNOPPIX/knoppix
or
2. Copy the files/directories /var/lib/apt, /var/cache/apt without getting symbolic link and/or ownership errors |
|
Back to top |
|
|
roberts
Joined: 17 Apr 2006 Posts: 320 Location: OC CA USA
|
Posted: Fri Sep 15, 2006 4:35 pm Post subject: |
|
|
For number 1. To access the files inside an iso
# mkdir /mnt/image
# mount dsl.iso /mnt/image -t iso9660 -o loop,ro
For number 2 how about using rsync -a |
|
Back to top |
|
|
Juanito
Joined: 11 Sep 2006 Posts: 88 Location: Dubai, U.A.E.
|
Posted: Sat Sep 16, 2006 9:51 am Post subject: Missing Something |
|
|
Maybe I'm missing the obvious here, but when I "mount dsl.iso /mnt/image -t iso9660 -o loop,ro", I end up with a 47.26MB file named "KNOPPIX" inside the directory /path/KNOPPIX/.
It's the 47.26MB file named "KNOPPIX" that I would like to "unpack" to be able to access the directories/files inside it without having to boot it... |
|
Back to top |
|
|
roberts
Joined: 17 Apr 2006 Posts: 320 Location: OC CA USA
|
Posted: Sat Sep 16, 2006 3:20 pm Post subject: |
|
|
Just do another mount of the KNOPPIX file.
#mkdir /mnt/test
#mount /path_to/KNOPPIX/KNOPPIX /mnt/test -t iso9660 -o ro,loop=/dev/cloop50
Just pick an unused cloop device, eg, cloop50 |
|
Back to top |
|
|
Juanito
Joined: 11 Sep 2006 Posts: 88 Location: Dubai, U.A.E.
|
Posted: Sat Sep 16, 2006 3:41 pm Post subject: Unpacked |
|
|
Aaaah... Thanks |
|
Back to top |
|
|
|