I'm running FC4 and would like to use sbackup but I keep getting this error : "sh: dpkg: command not found".
I saw the note "If you do not run a Debian derrived distribution then you can comment out
lines that backup the list of installed packages on a Debian system. An authomatic test will be added soon, but the lack of dpkg command shouldn't raise an exception there."
I guess this is what I haven't done, but which lines to comment out?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
# Backup list of installed packages (Debian only part)
command = "dpkg --get-selections"
s = os.popen( command )
if local:
d = open( tdir+"packages", "w" )
else:
d = gnomevfs.create( tdir+"packages", 2 )
shutil.copyfileobj( s, d )
s.close()
# End of Debian only part
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm running FC4 and would like to use sbackup but I keep getting this error : "sh: dpkg: command not found".
I saw the note "If you do not run a Debian derrived distribution then you can comment out
lines that backup the list of installed packages on a Debian system. An authomatic test will be added soon, but the lack of dpkg command shouldn't raise an exception there."
I guess this is what I haven't done, but which lines to comment out?
Thanks
This is the part to comment out in the sbackupd:
# Backup list of installed packages (Debian only part)
command = "dpkg --get-selections"
s = os.popen( command )
if local:
d = open( tdir+"packages", "w" )
else:
d = gnomevfs.create( tdir+"packages", 2 )
shutil.copyfileobj( s, d )
s.close()
# End of Debian only part