DSL Ideas and Suggestions :: Install Script for Synaptic
Very nice work. I have been using the older script with 0.6.2 in my remastering effort, and have finally gotten the hang of it. --- Since DSL has now gone to 0.6.3, with many nice improvements, I will get busy downloading that, and seeing what I can do with it. --- Just to echo the above, thanks for all your efforts cbagger01 - having a new DSL version is great, having one with your script is much much better....
which might ease any copy and pasting problems.Hear hear! thanks for maintaining this significant enhancement to dsl. Can you possibly explain why I can't get your new 0.63 synaptic script to work. (old laptop, 40MB Ram, dsl V.0.63 hard disk installed as standard option - have tried both multi-user and single user install options) Having done the usual opening and saving of the script (using Scite) into my home/damnsmall/ directory, I go back into bash and get ' Permission denied' when attempting the chmod 755 command. I've tried as user 'damnsmall' and as 'root' - same message. I've since gone back to v0.62 and rerun your v0.62 script which worked perfectly again. Any ideas?chmod 755 filename_goes_here
should work as user "damnsmall" if you were running Scite as user "damnsmall".
Either way, it should work if you are the "root" user.
If you type:
ls -al /home/damnsmall/
it should tell you who owns this file.
Also, you can try this test to see if it works:
Type it in from an Xterminal:
Code Sample
echo "This is a testfile. Delete me when you are done." > /home/damnsmall/testfile.txt chmod 755 /home/damnsmall/testfile.txt ls -al /home/damnsmall/testfile.txt
If that doesn't work, try this (Just a hunch):
Code Sample
sudo su chmod 755 /home/damnsmall chmod 777 /tmp exit
And then try the test again.
Good Luck.Hi,
Am keen to install a few extra apps. So used the 'Damn Small Apt Walkthrough' by Grim to run the dpkg-restore routine and then installed the full version of tar from Grim's site.
Then I found the posts on the synaptic_start script and (being pretty new at this) thought 'fabulous!'
Am using a HD install of 6.3, so copied the relevant script and wrote the .synaptic_start file, CHMOD as instructed.
Then tried using the script, lots of stuff was downloaded but got the below errors. Although nowhere near an expert, the errors look pretty fatal.
dpkg-deb (subprocess): failed to exec tar: permission denied dpkg-deb: subprocess tar returned error exit status 2 dpkg: error processing /var/cache/apt/archives/libgc1_1%3a3.3.3-6_i386.deb (--unpack : subprocess dpkg-deb -- control returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libgc1_1%3a3.3.3-6_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Same error occurred earlier, while 'processing' apt_0.5.4_i386.deb
In the 'parent' Xterm window, the following error occurred lots of times: Glib-WARNING **: g_main_iterate(): main loop already active in another thread
I guess this error is a consequence of the errors in the synaptic_start 'child' window?
Do the above errors stem from a badly installed tar?