Dpup Synaptic Testing

Message
Author
User avatar
tubeguy
Posts: 1320
Joined: Sat 29 Aug 2009, 01:04
Location: Park Ridge IL USA
Contact:

#76 Post by tubeguy »

shankargopal wrote:Great, thanks a lot, gposil. In the meantime as a kludge I was considering something rather inelegant. Since the main advantages of apt over PPM that I can see are 1) better dependency resolution and 2) easy access to new repositories, I can keep an empty dpupsave into which I would, when necessary, install apt, run it in "--download-only" mode, and copy over the debs for installation with PPM to my main system. Possibly any frugal installers desperate for apt could do the same when they really need it... (I would just do a full install but I can't, as I need my Puppy to be flash drive based and full installs don't work on USB devices).
I would say this qualifies as "protip". ;-)
[b]Tahr Pup 6 on desktop, Lucid 3HD on lappie[/b]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#77 Post by Béèm »

gposil wrote:Béèm

APT/Synaptic was never going to be a happy match with a pupsave type environment. It creates large database entries and keeps a copy of every file you download/install, even if you later uninstall it. You can remove some of the bloat by going to /var/cache/apt and deleting the deb files from there, but it sort of defeats the purpose behind APT, ie re-installs and filesystem fixes.

I said from the outset that I thought that it would really only be viable on a full HDD install, more and more testers are discovering for themselves why I said that...(unless you can put up with large and fast growing pupsave files)
Thank you Guy for that explanation.
I somehow missed the message about FULL install.
In any case it's a nice addition and hope you keep it in the stream of thought you had on it.
Bernard
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
flugwelpe
Posts: 29
Joined: Fri 15 May 2009, 15:14
Location: Vienna, Austria

#78 Post by flugwelpe »

tubeguy wrote:
shankargopal wrote:Great, thanks a lot, gposil. In the meantime as a kludge I was considering something rather inelegant. Since the main advantages of apt over PPM that I can see are 1) better dependency resolution and 2) easy access to new repositories, I can keep an empty dpupsave into which I would, when necessary, install apt, run it in "--download-only" mode, and copy over the debs for installation with PPM to my main system. Possibly any frugal installers desperate for apt could do the same when they really need it... (I would just do a full install but I can't, as I need my Puppy to be flash drive based and full installs don't work on USB devices).
I would say this qualifies as "protip". ;-)
Another way which seems to work is moving the /var/cache/apt* directories out of the pupsave and softlinking to the new destination. Didn't see any troubles with this approach yet.

User avatar
flugwelpe
Posts: 29
Joined: Fri 15 May 2009, 15:14
Location: Vienna, Austria

apt_synaptic via sfs

#79 Post by flugwelpe »

Ok, i figured a way to use apt/synaptic via an sfs file and having an out-of-savefile repository for apt.

It works using the SFS-linker pet http://www.murga-linux.com/puppy/viewtopic.php?p=352837.

I wrote a script which does necessary conversion

* First you have to extract the apt_synaptic-dpup.pet (i used pet2tgz and then tar -xvvzf ).
* Then apply my script on that <directory>
* Then mksquashfs4 <directory> apt_synaptic-dpup.sfs4.sfs
* mount a directory outside of the savefile for keeping the apt repository data under /mnt/repositories
* sfs_linker apt_synaptic-dpup.sfs4.sfs
* apt-RUNMEFIRST # to initialise the apt repo - do this just once
* apt-get update
* use your apt ;)

The sfs doesn't work via BootManager. Note, I also had some problems inbetween with automatically sfs_link'ing the sfs, so I sfs_link(er) that manually ATM every run i need it.

Code: Select all

#!/bin/bash

dir_exploded=`realpath $1`
dir_repo="$2"
var_old=/var/apt_initial_dirs
[ "${dir_repo}" = "" ] && dir_repo=/mnt/repositories/apt

function bla () {
		[ "${dir_exploded}" = "" ]  && echo "needs path" && return 1
		[ "${dir_exploded}" = "/" ]  && echo "needs path different from /" && return 1 
		
		echo '[II] Deleting all lock files'
		rm `find "${dir_exploded}" -name "[lL]ock"`
		echo '[II] Deleting backup files'
		rm "$dir_exploded"/var/backups/*

		echo '[II] Installing redirection'
	if [ ! -x "${dir_exploded}/${var_old}" ] ; then
		echo "[II] Moving directories which should be in repository out of the way (to '$dir_repo')"
		mkdir -p "${dir_exploded}/${var_old}"/lib "${dir_exploded}/${var_old}"/cache
		mv "${dir_exploded}"/var/cache/apt "${dir_exploded}"/"${var_old}"/cache/apt
		mv "${dir_exploded}"/var/cache/apt-build "${dir_exploded}"/"${var_old}"/cache/apt-build
		mv "${dir_exploded}"/var/lib/apt "${dir_exploded}"/"${var_old}"/lib/apt
		echo '[II] creating links to directories in repositories instead'
		#mkdir "${dir_exploded}"/var/lib/ "${dir_exploded}"/var/cache/
		ln -s "$dir_repo"/var_lib_apt "${dir_exploded}"/var/lib/apt
		ln -s "$dir_repo"/var_cache_apt "${dir_exploded}"/var/cache/apt
		ln -s "$dir_repo"/var_cache_apt-build "${dir_exploded}"/var/cache/apt-build
	else
		echo '[WW] It seems I already installed redirection ( found dir "${dir_exploded}/${var_old}" )'
	fi
		
	if [ -f "${dir_exploded}"/pet.specs ] ; then
		echo '[II] handling pet specs (actually just a rename, yet)'
		mv "${dir_exploded}"/pet.specs "${dir_exploded}"/apt_synaptic-dpup__pet.specs
	else
		echo "[WW] already handled pet specs (couldn't find pet.specs file)"
	fi	
	
		echo '[II] Creating install script apt-RUNMEFIRST'
		path_installer="${dir_exploded}"/usr/sbin/apt-RUNMEFIRST
		echo "#!/bin/sh" > "${path_installer}"
		for d in "cache/apt" "cache/apt-build" "lib/apt" ; do 
			echo "mkdir -p '$dir_repo/var/$d'" >> "${path_installer}"
			echo "cp -a '${var_old}/$d/'* '$dir_repo/var/$d'" >> "${path_installer}"
		done
		chmod a+x "${path_installer}"
}

bla;
echo 'woof! woof!'
[/b]

edit: 2009-12-21 - fixed copy operation quoting apt-RUNMEFIRST
Last edited by flugwelpe on Mon 21 Dec 2009, 09:39, edited 1 time in total.

shankargopal
Posts: 295
Joined: Sat 03 Dec 2005, 11:30

#80 Post by shankargopal »

This looks really great, flugwelpe - as soon as I get some time between work (hopefully tomorrow), very eager to try it

shankargopal
Posts: 295
Joined: Sat 03 Dec 2005, 11:30

#81 Post by shankargopal »

Hi flugwelpe

Thanks for the great idea with the apt sfs and script. But there seem to be a number of bugs - sorry I can't directly debug the script myself, would give it a shot but getting screwed on time...

So this is what I did:

1. Made an empty 400M image file and mounted it on /mnt/repositories
2. Expanded apt_synaptic-dpup.pet as instructed
3. Saved your script at flugwelpe-apt.sh in my root directory and then ran it on the directory where I had expanded apt_synaptic-dpup
4. Things semed to run ok though nothing had been created in my /mnt/repositories file
5. Did a mksquashfs4 on it
6. Installed SFS Linker pet and rebooted
7. Ran sfs_linker on the image file - got a long string of errors, but it seemed to link ok, i.e. apt-get command executed and /mnt/apt_synaptic-dpup.sfs looked ok on a brief inspection
8. Mounted my image file on /mnt/repositories again
9. Ran apt-RUNMEFIRST and got these errors:

Code: Select all

cp: cannot stat `/var/apt_initial_dirs/cache/apt/*': No such file or directory
cp: cannot stat `/var/apt_initial_dirs/cache/apt-build/*': No such file or directory
cp: cannot stat `/var/apt_initial_dirs/lib/apt/*': No such file or directory
Which is very odd since all those directories seem to exist and have things in them.

Then ran apt-get update and get:

Code: Select all

E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory)
E: Unable to lock the list directory
Traced the symbolic links to a directory in /mnt/repositories that doesn't seem to exist, so created it, but getting the same error.

Any idea what's going on?

User avatar
flugwelpe
Posts: 29
Joined: Fri 15 May 2009, 15:14
Location: Vienna, Austria

#82 Post by flugwelpe »

Hi shankargopal,

first thanks for your bug report ;)

That copy command had wrong quotes so it wouldn't copy the right files to initialise the repository. I edited the script in my previous post to fix it (but didn't try it with a fresh install).
You could also just remove the quotes in /usr/sbin/apt-RUNMEFIRST and run that again.
shankargopal wrote: ...
3. Saved your script at flugwelpe-apt.sh in my root directory and then ran it on the directory where I had expanded apt_synaptic-dpup
4. Things semed to run ok though nothing had been created in my /mnt/repositories file
Thats okay, /mnt/repositories/apt is initialized when you run apt-RUNMEFIRST (i.e. after install).
shankargopal wrote: ...
8. Mounted my image file on /mnt/repositories again
Not sure what you mean with 'image file', but if its the place you want to store the apt cache etc., then its fine ;)
shankargopal wrote: 9. Ran apt-RUNMEFIRST and got these errors:

Code: Select all

cp: cannot stat `/var/apt_initial_dirs/cache/apt/*': No such file or directory
cp: cannot stat `/var/apt_initial_dirs/cache/apt-build/*': No such file or directory
cp: cannot stat `/var/apt_initial_dirs/lib/apt/*': No such file or directory
Which is very odd since all those directories seem to exist and have things in them.
Yeah, it should have been '/var/apt_initial_dirs/cache/apt-build/'* instead of '/var/apt_initial_dirs/cache/apt-build/*'. The single quotes prevented the * from being expanded to all the files in the directory. If you dont have whitespace in the path, they are not needed anyway.
shankargopal wrote:
Then ran apt-get update and get:

Code: Select all

E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory)
E: Unable to lock the list directory
Traced the symbolic links to a directory in /mnt/repositories that doesn't seem to exist, so created it, but getting the same error.
...
yip, you need the apt structure like the apt-RUNMEFIRST copies it there.

Tell me, if the fix worked for you.

shankargopal
Posts: 295
Joined: Sat 03 Dec 2005, 11:30

#83 Post by shankargopal »

Thanks flugwelpe will give it a shot. Incidentally, there seems to be some other bug at work as well - the sfs linker seems to have randomly linked all kinds of files to the /mnt/apt_synaptic-dpup.sfs directory, including /usr/bin/X, /usr/bin/python etc. In fact the mess was so bad that this morning I had to just start with a fresh save file to get things running again. Not sure if this indicates a problem with the restructuring of the sfs file? given that am a little wary of retrying now, got a lot of work to do and doing a save file wipe again would not be fun :-)

Thanks again for all the work

User avatar
flugwelpe
Posts: 29
Joined: Fri 15 May 2009, 15:14
Location: Vienna, Austria

#84 Post by flugwelpe »

shankargopal wrote:Thanks flugwelpe will give it a shot. Incidentally, there seems to be some other bug at work as well - the sfs linker seems to have randomly linked all kinds of files to the /mnt/apt_synaptic-dpup.sfs directory, including /usr/bin/X, /usr/bin/python etc.
Yeah, the sfs is not cleaned up at all. There is a full python and a full perl inside. Not sure, what is really needed. I should remove the /usr/bin/X at least in my script.

The original stuff should be back when you unlink the sfs file, AFAIK.
shankargopal wrote: given that am a little wary of retrying now, got a lot of work to do and doing a save file wipe again would not be fun :-)

Thanks again for all the work
Welcome :)
Just know that this all of this is pre-alpha so you should keep backups ;)

shankargopal
Posts: 295
Joined: Sat 03 Dec 2005, 11:30

#85 Post by shankargopal »

flugwelpe wrote: The original stuff should be back when you unlink the sfs file, AFAIK.
Tried that, no luck. But maybe that was my save file's fault.
flugwelpe wrote:
shankargopal wrote: given that am a little wary of retrying now, got a lot of work to do and doing a save file wipe again would not be fun :-)

Thanks again for all the work
Welcome :)
Just know that this all of this is pre-alpha so you should keep backups ;)
I had one, or I would have been committing hara kiri at this very moment... but it's a pain nonetheless to reinstall your software and settings etc. Will give it a shot again with your bugfix soon hopefully...

oui

new beta1 "5"?

#86 Post by oui »

(moved)

Skipper_the_eye_child
Posts: 33
Joined: Wed 03 Feb 2010, 10:34

#87 Post by Skipper_the_eye_child »

Firstly, thank you to those above for their testing.

Apt-get more than synaptic, should I proceed with the .pet install of apt_synaptic-dpup.pet for 484beta4?

This would still be the place to get it?
http://dpup.org/test/dpup482beta5-2.6.30.5/addons/

Additionally, do I need to install any deps in order apt-get should work? I currently only have Debian repos enabled in the PPM in order to get me started, the end goal however is to run Puppy solely using apt-get/synaptic, and avoiding the PPM, or .pets.

Skipper_the_eye_child
Posts: 33
Joined: Wed 03 Feb 2010, 10:34

#88 Post by Skipper_the_eye_child »

Okay, so I went ahead with the apt/synaptic .pet install -- that was fine. So far I've only been executing apt-get installs at the cli, where downloads go off fine, but will run into these common errors, whatever I choose to install -- here conky:

Code: Select all

# apt-get install conky
Reading package lists... Done
Building dependency tree
Reading state information... Done
conky is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up avahi-daemon (0.6.23-3lenny1) ...
adduser: unrecognized option '--quiet'
BusyBox v1.15.0.svn (2009-07-25 18:23:53 GMT-8) multi-call binary

Usage: adduser [OPTIONS] user_name

Add a user

Options:
        -h DIR          Home directory
        -g GECOS        GECOS field
        -s SHELL        Login shell
        -G GROUP        Add user to existing group
        -S              Create a system user
        -D              Do not assign a password
        -H              Do not create home directory
        -u UID          User id

dpkg: error processing avahi-daemon (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libnss-mdns:
 libnss-mdns depends on avahi-daemon (>= 0.6.16-1); however:
  Package avahi-daemon is not configured yet.
dpkg: error processing libnss-mdns (--configure):
 dependency problems - leaving unconfigured
Setting up sane-utils (1.0.19-23) ...
Adding saned group and user...
adduser: unrecognized option '--quiet'
BusyBox v1.15.0.svn (2009-07-25 18:23:53 GMT-8) multi-call binary

Usage: adduser [OPTIONS] user_name

Add a user

Options:
        -h DIR          Home directory
        -g GECOS        GECOS field
        -s SHELL        Login shell
        -G GROUP        Add user to existing group
        -S              Create a system user
        -D              Do not assign a password
        -H              Do not create home directory
        -u UID          User id

adduser: unrecognized option '--quiet'
BusyBox v1.15.0.svn (2009-07-25 18:23:53 GMT-8) multi-call binary

Usage: adduser [OPTIONS] user_name

Add a user

Options:
        -h DIR          Home directory
        -g GECOS        GECOS field
        -s SHELL        Login shell
        -G GROUP        Add user to existing group
        -S              Create a system user
        -D              Do not assign a password
        -H              Do not create home directory
        -u UID          User id

dpkg: error processing sane-utils (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 avahi-daemon
 libnss-mdns
 sane-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
I can see that part of the problem relates to there being no multiple users on the system, and such errors occur every time, as do the last seven lines. Fixes anyone?

Skipper_the_eye_child
Posts: 33
Joined: Wed 03 Feb 2010, 10:34

#89 Post by Skipper_the_eye_child »

Okay, so I think the above may have had something to do with not rebooting using the new init script. Now I am getting the same 'python issues', as remarked above:

Code: Select all

# apt-get install debian-backports-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
debian-backports-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 110 not upgraded.
# apt-get install deluge-torrent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  deluge-torrent-common libboost-date-time1.34.1
  libboost-filesystem1.34.1 libboost-thread1.34.1
  libwnck-common libwnck22 notification-daemon python-glade2
  python-gobject python-gtk2 python-gtkmozembed
  python-notify python-openssl python-xdg
Suggested packages:
  python-gtk2-doc python-gobject-dbg
  python-gnome2-extras-doc python-openssl-doc
  python-openssl-dbg
The following NEW packages will be installed:
  deluge-torrent deluge-torrent-common
  libboost-date-time1.34.1 libboost-filesystem1.34.1
  libboost-thread1.34.1 libwnck-common libwnck22
  notification-daemon python-glade2 python-gobject
  python-gtk2 python-gtkmozembed python-notify
  python-openssl python-xdg
0 upgraded, 15 newly installed, 0 to remove and 110 not upgraded.
Need to get 5737kB of archives.
After this operation, 21.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 ftp://ftp.uwa.edu.au lenny/main libboost-date-time1.34.1 1.34.1-14 [59.7kB]
Get:2 ftp://ftp.uwa.edu.au lenny/main libboost-filesystem1.34.1 1.34.1-14 [57.0kB]
Get:3 ftp://ftp.uwa.edu.au lenny/main libboost-thread1.34.1 1.34.1-14 [39.0kB]
Get:4 ftp://ftp.uwa.edu.au lenny/main deluge-torrent-common 0.5.9.3-1 [1181kB]
Get:5 ftp://ftp.uwa.edu.au lenny/main python-gobject 2.14.2-2 [161kB]
Get:6 ftp://ftp.uwa.edu.au lenny/main python-gtk2 2.12.1-6 [1384kB]
Get:7 ftp://ftp.uwa.edu.au lenny/main python-glade2 2.12.1-6 [42.5kB]
Get:8 ftp://ftp.uwa.edu.au lenny/main python-xdg 0.15-1.1 [31.8kB]
Get:9 ftp://ftp.uwa.edu.au lenny/main python-notify 0.1.1-2+b1 [18.1kB]
Get:10 ftp://ftp.uwa.edu.au lenny/main libwnck-common 2.22.3-1 [312kB]
Get:11 ftp://ftp.uwa.edu.au lenny/main libwnck22 2.22.3-1 [158kB]
Get:12 ftp://ftp.uwa.edu.au lenny/main notification-daemon 0.3.7-1+b1 [42.1kB]
Get:13 ftp://ftp.uwa.edu.au lenny/main python-openssl 0.7-2 [88.9kB]
Get:14 ftp://ftp.uwa.edu.au lenny/main deluge-torrent 0.5.9.3-1 [2100kB]
Get:15 ftp://ftp.uwa.edu.au lenny/main python-gtkmozembed 2.19.1-3.1 [61.4kB]
Fetched 5737kB in 1min19s (72.2kB/s)
Selecting previously deselected package libboost-date-time1.34.1.
(Reading database ...
dpkg: serious warning: files list file for package `python2.4' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `python-all' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `python2.4-minimal' missing, assuming package has no files currently installed.
47888 files and directories currently installed.)
Unpacking libboost-date-time1.34.1 (from .../libboost-date-time1.34.1_1.34.1-14_i386.deb) ...
Selecting previously deselected package libboost-filesystem1.34.1.
Unpacking libboost-filesystem1.34.1 (from .../libboost-filesystem1.34.1_1.34.1-14_i386.deb) ...
Selecting previously deselected package libboost-thread1.34.1.
Unpacking libboost-thread1.34.1 (from .../libboost-thread1.34.1_1.34.1-14_i386.deb) ...
Selecting previously deselected package deluge-torrent-common.
Unpacking deluge-torrent-common (from .../deluge-torrent-common_0.5.9.3-1_all.deb) ...
Selecting previously deselected package python-gobject.
Unpacking python-gobject (from .../python-gobject_2.14.2-2_i386.deb) ...
Selecting previously deselected package python-gtk2.
Unpacking python-gtk2 (from .../python-gtk2_2.12.1-6_i386.deb) ...
Selecting previously deselected package python-glade2.
Unpacking python-glade2 (from .../python-glade2_2.12.1-6_i386.deb) ...
Selecting previously deselected package python-xdg.
Unpacking python-xdg (from .../python-xdg_0.15-1.1_all.deb) ...
Selecting previously deselected package python-notify.
Unpacking python-notify (from .../python-notify_0.1.1-2+b1_i386.deb) ...
Selecting previously deselected package libwnck-common.
Unpacking libwnck-common (from .../libwnck-common_2.22.3-1_all.deb) ...
Selecting previously deselected package libwnck22.
Unpacking libwnck22 (from .../libwnck22_2.22.3-1_i386.deb) ...
Selecting previously deselected package notification-daemon.
Unpacking notification-daemon (from .../notification-daemon_0.3.7-1+b1_i386.deb) ...
Selecting previously deselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.7-2_i386.deb) ...
Selecting previously deselected package deluge-torrent.
Unpacking deluge-torrent (from .../deluge-torrent_0.5.9.3-1_i386.deb) ...
Selecting previously deselected package python-gtkmozembed.
Unpacking python-gtkmozembed (from .../python-gtkmozembed_2.19.1-3.1_i386.deb) ...
Processing triggers for menu ...
Unknown error.
Setting up libboost-date-time1.34.1 (1.34.1-14) ...
Setting up libboost-filesystem1.34.1 (1.34.1-14) ...
Setting up libboost-thread1.34.1 (1.34.1-14) ...
Setting up deluge-torrent-common (0.5.9.3-1) ...
Setting up python-gobject (2.14.2-2) ...
Setting up python-gtk2 (2.12.1-6) ...
Setting up python-glade2 (2.12.1-6) ...
Setting up python-xdg (0.15-1.1) ...
Setting up python-notify (0.1.1-2+b1) ...
Setting up libwnck-common (2.22.3-1) ...
Setting up libwnck22 (2.22.3-1) ...
Setting up notification-daemon (0.3.7-1+b1) ...
killall: notification-daemon: no process killed
Setting up python-openssl (0.7-2) ...
Setting up deluge-torrent (0.5.9.3-1) ...
Setting up python-gtkmozembed (2.19.1-3.1) ...
Processing triggers for python-support ...
Processing triggers for menu ...
Unknown error.
Running deluge it seems it's issues are python related:

Code: Select all

# deluge
Traceback (most recent call last):
  File "/usr/bin/deluge", line 43, in <module>
    import deluge
  File "/var/lib/python-support/python2.5/deluge/__init__.py", line 36, in <module>
    import gtk.glade
  File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py", line 38, in <module>
    import gobject as _gobject
  File "/var/lib/python-support/python2.5/gtk-2.0/gobject/__init__.py", line 30, in <module>
    from gobject.constants import *
  File "/var/lib/python-support/python2.5/gtk-2.0/gobject/constants.py", line 22, in <module>
    from _gobject import type_from_name
ImportError: libffi.so.5: cannot open shared object file: No such file or directory
The last library is a missed dependency pehaps? Using apt-file hasn't worked out for me either:

Code: Select all

# apt-get install apt-file
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libconfig-file-perl liblist-moreutils-perl
The following NEW packages will be installed:
  apt-file libconfig-file-perl liblist-moreutils-perl
0 upgraded, 3 newly installed, 0 to remove and 110 not upgraded.
Need to get 82.4kB of archives.
After this operation, 311kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 ftp://ftp.uwa.edu.au lenny/main libconfig-file-perl 1.42-1 [11.7kB]
Get:2 ftp://ftp.uwa.edu.au lenny/main liblist-moreutils-perl 0.22-1+b1 [51.5kB]
Get:3 ftp://ftp.uwa.edu.au lenny/main apt-file 2.1.5 [19.2kB]
Fetched 82.4kB in 21s (3902B/s)
Selecting previously deselected package libconfig-file-perl.
(Reading database ...
dpkg: serious warning: files list file for package `python2.4' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `python-all' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `python2.4-minimal' missing, assuming package has no files currently installed.
49016 files and directories currently installed.)
Unpacking libconfig-file-perl (from .../libconfig-file-perl_1.42-1_all.deb) ...
Selecting previously deselected package liblist-moreutils-perl.
Unpacking liblist-moreutils-perl (from .../liblist-moreutils-perl_0.22-1+b1_i386.deb) ...
Selecting previously deselected package apt-file.
Unpacking apt-file (from .../apt-file_2.1.5_all.deb) ...
Setting up libconfig-file-perl (1.42-1) ...
Setting up liblist-moreutils-perl (0.22-1+b1) ...
Setting up apt-file (2.1.5) ...
You need to run 'apt-file update' as root to update the cache.
# apt-file update
Can't get http://security.debian.org/dists/lenny/updates/Contents-i386.gz
cp: cannot stat `//var/cache/apt-build/repository/dists/apt-build/Contents-i386.gz': No such file or directory
# ls /var/cache/apt-build/repository/dists/apt-build/
Packages.gz  apt-build    dists  stable
Release      binary-i386  main
If somebody can help me with this i'd be really appreciative.

User avatar
flugwelpe
Posts: 29
Joined: Fri 15 May 2009, 15:14
Location: Vienna, Austria

#90 Post by flugwelpe »

Well it looks that libffi 5 is missing, right?
Search for the right name (using apt-cache,aptitude or synaptic) and install it.

Skipper_the_eye_child
Posts: 33
Joined: Wed 03 Feb 2010, 10:34

#91 Post by Skipper_the_eye_child »

Apt-file installed fine it turned out. libffi.so.5 was present at /initrd/mnt/dev_save/usr/lib/, and reported by apt-get as installed, whereas deluge was looking at a /usr/lib. I copied the file over to the new location and now get a new error message when running deluge. But all this is besides the point, I don't want to be fixing this stuff.

Issues look to be one of location, and/or lack of python compatibility as far as I can judge. Somebody more expert can tell me if I am wrong, and what I need to do.

I should add (and aware the pitfalls) that i'm using a pupsave.

Post Reply