USM Unified Slackware Package Manager
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Thanks Tome, I will add the -L switch to find so if someone uses a symlink it will follow the link.
Fresh mode is OK but you will need to make a module from the database files and leave it in the modules folder.
Fresh mode is OK but you will need to make a module from the database files and leave it in the modules folder.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: USM Unified Slackware Package Manager
@beny It is not fresh mode correctly - I don't use changes cheatcode but data can be saved by activating module that contains links to writable folder - it has few advantages over changes.
You have mind and feelings. Be wise and clever.
-
- DEV Team
- Posts: 2095
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: USM Unified Slackware Package Manager
I tried to make a simple GUI for usm.
Thanks.
SGUIusm-14.02.03-noarch-0.xzm (8 K)
http://www.mediafire.com/download/ac7uz ... arch-0.xzm
md5sum: cbb39d9c915ef411da4241192c455866 SGUIusm-14.02.03-noarch-0.xzm
Thanks.
SGUIusm-14.02.03-noarch-0.xzm (8 K)
http://www.mediafire.com/download/ac7uz ... arch-0.xzm
md5sum: cbb39d9c915ef411da4241192c455866 SGUIusm-14.02.03-noarch-0.xzm
Re: USM Unified Slackware Package Manager
neko
/usr/bin/SGUIusm: line 601: gtkdialog: command not found i have put in gtkdialog
bash-4.2# sh /usr/bin/SGUIusm
** (gtkdialog:3757): ERROR **: gtkdialog: Error in line 70, near token 'string': syntax error
/usr/bin/SGUIusm: line 390: 3755 Done echo "$USM_SEARCH"
3756 | sed '/^##/d'
3757 Rilevato trace/breakpoint | gtkdialog -s > $SGUIUSMWRK/JUNK
bash-4.2#
i have stripped the xzm for me more useful but not work yet
/usr/bin/SGUIusm: line 601: gtkdialog: command not found i have put in gtkdialog
bash-4.2# sh /usr/bin/SGUIusm
** (gtkdialog:3757): ERROR **: gtkdialog: Error in line 70, near token 'string': syntax error
/usr/bin/SGUIusm: line 390: 3755 Done echo "$USM_SEARCH"
3756 | sed '/^##/d'
3757 Rilevato trace/breakpoint | gtkdialog -s > $SGUIUSMWRK/JUNK
bash-4.2#
i have stripped the xzm for me more useful but not work yet
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Fantastic! I am so happy other people are using gtkdialog now.
I have a basic GUI for usm which only searches for and downloads packages. I will take a look at your version tomorrow and see how we can use it.
I have a basic GUI for usm which only searches for and downloads packages. I will take a look at your version tomorrow and see how we can use it.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- DEV Team
- Posts: 2095
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: USM Unified Slackware Package Manager
@beny
I can not understand what happens.
I searched the site
http://puppylinux.info/topic/swatch-int ... ons/page/2
that has the same error message
"** ERROR **: gtkdialog: Error in line 17, near token 'string': syntax error".
If you fix this problem, I expect that you will report on other thread about a problem.
Excuse me for my poor skill.
@brokenman
>>I have a basic GUI for usm
Would you open your basic GUI ?
I would like to study your code.
I can not understand what happens.
I searched the site
http://puppylinux.info/topic/swatch-int ... ons/page/2
that has the same error message
"** ERROR **: gtkdialog: Error in line 17, near token 'string': syntax error".
If you fix this problem, I expect that you will report on other thread about a problem.
Excuse me for my poor skill.
@brokenman
>>I have a basic GUI for usm
Would you open your basic GUI ?
I would like to study your code.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
You can download what I have so far here. It only has basic functionality at the moment. Only search for packages (not download yet). You will need all files from the CLI version and use these in addition. You must also run: usm -u all in the CLI before running this GUI.
https://dl.dropboxusercontent.com/u/6868871/guiusm.xzm
https://dl.dropboxusercontent.com/u/6868871/guiusm.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: USM Unified Slackware Package Manager
Next bug - try search or download spacefm on Porteus 3.0 - problem with Salix repository - Slackware 14.0 instead of 14.1 that doesn't contain spacefm package.
You have mind and feelings. Be wise and clever.
-
- DEV Team
- Posts: 2095
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: USM Unified Slackware Package Manager
@brokenman
Thank you for your kindness.
I study your code now.
Especially I am interested on how to use 'gtkdialog'.
I have an experience on developing by C language.
But I do not have one by script languages.
I am enjoy to write a script source.
Thanks.
Thank you for your kindness.
I study your code now.
Especially I am interested on how to use 'gtkdialog'.
I have an experience on developing by C language.
But I do not have one by script languages.
I am enjoy to write a script source.
Thanks.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Thanks tome will check this out tonight.
Neko i like your GUI. We take different approaches. Yours is based on separating the distros while mine searches all distros together. There are many things I like about your GUI. It is very easy to understand and very fast. I like the layout left --> right.
Neko i like your GUI. We take different approaches. Yours is based on separating the distros while mine searches all distros together. There are many things I like about your GUI. It is very easy to understand and very fast. I like the layout left --> right.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Contributor
- Posts: 669
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks
- Contact:
Re: USM Unified Slackware Package Manager
Must I run to download salix packages. If I use then after is but I have required database for searching Salix repository.
Code: Select all
usm -u all
Code: Select all
usm -u salix
Code: Select all
usm -g test
Code: Select all
You are missing required database files!
Please run: usm -u all
You have mind and feelings. Be wise and clever.
Re: USM Unified Slackware Package Manager
bash-4.2# usm -u salix
Starting salix database update
Connection is good
Downloading: CHECKSUMS.md5 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
Downloading: OPTIFEST.gz DONE
Downloading: MANIFEST.bz2 DONE
salix database updated.
bash-4.2# usm -g spacefm
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) spacefm-0.8.2-x86_64-2dj.txz
#? 1
Processing: spacefm-0.8.2-x86_64-2dj.txz
Libraries required: 51
Libraries found in system: 51
Libraries to resolve: 0
awk: linea com.:1: (FILENAME=- FNR=1) fatale: tentativo di accedere al campo -1
grep: /etc/usm/mirrors-.txt: File o directory non esistente
grep: /var/usm//PACKAGES.TXT: File o directory non esistente
grep: /var/usm//PACKAGES.TXT: File o directory non esistente
The following packages are required.
spacefm-0.8.2-x86_64-2dj.txz []
Total size: 0 KB
Press [r] to remove packages, [q] to quit, or any other key to start downloading.
you are right tome seem salix not good to downloads packages i try another one but....
Starting salix database update
Connection is good
Downloading: CHECKSUMS.md5 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
Downloading: OPTIFEST.gz DONE
Downloading: MANIFEST.bz2 DONE
salix database updated.
bash-4.2# usm -g spacefm
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) spacefm-0.8.2-x86_64-2dj.txz
#? 1
Processing: spacefm-0.8.2-x86_64-2dj.txz
Libraries required: 51
Libraries found in system: 51
Libraries to resolve: 0
awk: linea com.:1: (FILENAME=- FNR=1) fatale: tentativo di accedere al campo -1
grep: /etc/usm/mirrors-.txt: File o directory non esistente
grep: /var/usm//PACKAGES.TXT: File o directory non esistente
grep: /var/usm//PACKAGES.TXT: File o directory non esistente
The following packages are required.
spacefm-0.8.2-x86_64-2dj.txz []
Total size: 0 KB
Press [r] to remove packages, [q] to quit, or any other key to start downloading.
you are right tome seem salix not good to downloads packages i try another one but....
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Thanks Beny i have confirmed the bug. I get the same output.
Yes Tome you must run: usm -u all before you can do anything. Later if you just want to update a single repository (because the changelog shows new packages) you have the option to update just one.
Yes Tome you must run: usm -u all before you can do anything. Later if you just want to update a single repository (because the changelog shows new packages) you have the option to update just one.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: USM Unified Slackware Package Manager
Problem fixed. It was indeed a problem with the x86_64 salix file. Please try again.
@Neko
Very nicely written script. I get no errors. Very easy to read and i like structure of the script. 5 stars *****
@Neko
Very nicely written script. I get no errors. Very easy to read and i like structure of the script. 5 stars *****
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- DEV Team
- Posts: 2095
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: USM Unified Slackware Package Manager
@brokenman
I'm very glad to receive a good rating from you.
Now, I begin translating to a Japanese message of the CUI usm,
which is already multilingual version by you.
Thanks.
I'm very glad to receive a good rating from you.
Now, I begin translating to a Japanese message of the CUI usm,
which is already multilingual version by you.
Thanks.