Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 10:28
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x
Dpup Synaptic Testing
Moderators: BarryK, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 7 [91 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
tubeguy


Joined: 28 Aug 2009
Posts: 1321
Location: Park Ridge IL USA

PostPosted: Sat 12 Dec 2009, 10:15    Post subject:  

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". Wink

_________________
Toshiba M115-S1061: PupServer |HP/Compaq D330ST: Dpup 486
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Sat 12 Dec 2009, 14:26    Post subject:  

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).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
flugwelpe


Joined: 15 May 2009
Posts: 29
Location: Vienna, Austria

PostPosted: Tue 15 Dec 2009, 18:56    Post subject:  

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". Wink

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.
Back to top
View user's profile Send private message 
flugwelpe


Joined: 15 May 2009
Posts: 29
Location: Vienna, Austria

PostPosted: Thu 17 Dec 2009, 08:47    Post subject: apt_synaptic via sfs  

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 Wink

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:

#!/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, 05:39; edited 1 time in total
Back to top
View user's profile Send private message 
shankargopal

Joined: 03 Dec 2005
Posts: 295

PostPosted: Fri 18 Dec 2009, 04:05    Post subject:  

This looks really great, flugwelpe - as soon as I get some time between work (hopefully tomorrow), very eager to try it
Back to top
View user's profile Send private message 
shankargopal

Joined: 03 Dec 2005
Posts: 295

PostPosted: Sun 20 Dec 2009, 03:57    Post subject:  

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:

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:
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?
Back to top
View user's profile Send private message 
flugwelpe


Joined: 15 May 2009
Posts: 29
Location: Vienna, Austria

PostPosted: Mon 21 Dec 2009, 05:52    Post subject:  

Hi shankargopal,

first thanks for your bug report Wink

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 Wink

shankargopal wrote:

9. Ran apt-RUNMEFIRST and got these errors:
Code:

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:
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.
Back to top
View user's profile Send private message 
shankargopal

Joined: 03 Dec 2005
Posts: 295

PostPosted: Mon 21 Dec 2009, 09:34    Post subject:  

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 Smile

Thanks again for all the work
Back to top
View user's profile Send private message 
flugwelpe


Joined: 15 May 2009
Posts: 29
Location: Vienna, Austria

PostPosted: Wed 23 Dec 2009, 10:31    Post subject:  

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 Smile

Thanks again for all the work

Welcome Smile
Just know that this all of this is pre-alpha so you should keep backups Wink
Back to top
View user's profile Send private message 
shankargopal

Joined: 03 Dec 2005
Posts: 295

PostPosted: Wed 23 Dec 2009, 10:54    Post subject:  

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 Smile

Thanks again for all the work

Welcome Smile
Just know that this all of this is pre-alpha so you should keep backups Wink

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...
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 1847
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Fri 01 Jan 2010, 16:52    Post subject: new beta1 "5"?  

(moved)
Back to top
View user's profile Send private message 
Skipper_the_eye_child

Joined: 03 Feb 2010
Posts: 33

PostPosted: Thu 27 May 2010, 18:36    Post subject:  

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.
Back to top
View user's profile Send private message 
Skipper_the_eye_child

Joined: 03 Feb 2010
Posts: 33

PostPosted: Thu 27 May 2010, 22:29    Post subject:  

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:
# 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?
Back to top
View user's profile Send private message 
Skipper_the_eye_child

Joined: 03 Feb 2010
Posts: 33

PostPosted: Fri 28 May 2010, 17:16    Post subject:  

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:
# 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:
# 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:
# 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.
Back to top
View user's profile Send private message 
flugwelpe


Joined: 15 May 2009
Posts: 29
Location: Vienna, Austria

PostPosted: Mon 31 May 2010, 12:52    Post subject:  

Well it looks that libffi 5 is missing, right?
Search for the right name (using apt-cache,aptitude or synaptic) and install it.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 7 [91 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Next Puppy Development » 5.x
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1700s ][ Queries: 13 (0.0198s) ][ GZIP on ]