General TC > Programming & Scripting - Unofficial
Help with dpm
ferran:
aswjh is the author of this interesting script made in 2015 to download and convert debian packages for TC:
http://forum.tinycorelinux.net/index.php/topic,18237.msg110828.html#msg110828
1) as it's related above I decompressed the dpm-1.1.tar.gz package and installed on /mnt/sda1/tce/ondemand/
2) I did dpm pick
--- Code: ---$ dpm pick
Version: 1.1
Usage: dpm [ mirror update config upgrade clean (link/link clear) ]
dpm [ -i -ic -if -w -wi -d -D -r -s -u ] extensions
mirror Pick out a fastest mirror, specify a string to match: dpm mirror chin
update Update packages database
config Config ld.so.conf and dpm.rc(TCEDIR/dpkg)
upgrade Update all packages
clean Delete deb files downloaded
link/link clear link to tce/optional or clear
show Show information of packages
-i Load local extension
-c Copy to file system when installing. If installed, copy again
-f Overwrite when installing. If installed, copy again
-w Download deb files and make tcz extension
-d Show depends
-D Show dependices
-r Show reverse dependices
-s Search packages
-u Update packages
--- End code ---
3) And finally I tried to do the conversion of the last stable Opera browser's debian package:
--- Code: ---$ dpm -wi opera-stable_68.0.3618.56_amd64.deb
Connecting to ftp.debian.org (130.89.148.12:80)
saving to '/mnt/sda1/tce/dpkg/mirrors/ftp.debian.org/dist/sid/main/i386/Packages.xz'
Packages.xz 100% |******************************************| 7988k 0:00:00 ETA
'/mnt/sda1/tce/dpkg/mirrors/ftp.debian.org/dist/sid/main/i386/Packages.xz' saved
package not found: opera-stable
--- End code ---
So now what?
P.D.: Please aswjh come back soon :'(
Rich:
Hi ferran
--- Quote from: ferran on April 25, 2020, 10:58:49 AM ---
--- Code: ---$ dpm -wi opera-stable_68.0.3618.56_amd64.deb
~----- SNIP -----~
'/mnt/sda1/tce/dpkg/mirrors/ftp.debian.org/dist/sid/main/i386/Packages.xz' saved
package not found: opera-stable
--- End code ---
...
--- End quote ---
You are asking for a 64 bit package, but isn't main/i386/ a 32 bit repository?
Maybe try something like this:
--- Code: ---dpm -s opera
--- End code ---
and see what that returns.
ferran:
Hi Rich. So happens this:
--- Code: ---tc@box:~$ dpm -s opera
geany-plugin-lineoperations
libequinox-p2-operations-java
libghc-operational-dev
libghc-operational-doc
libghc-operational-prof
node-babel-helper-builder-binary-assignment-operator-visitor
node-babel-plugin-syntax-exponentiation-operator
node-babel-plugin-transform-exponentiation-operator
phpunit-resource-operations
python3-booleanoperations
tc@box:~$ opera
sh: opera: not found
tc@box:~$
--- End code ---
ferran:
It seems (I don't know sure...) that exists a debian's repository of Opera's browser named "Packages.gz":
https://deb.opera.com/opera/dists/stable/non-free/binary-i386/
If I download this could be install it in TC?
Rich:
Hi ferran
--- Quote from: ferran on April 25, 2020, 11:53:49 AM ---Hi Rich. So happens this:
--- Code: ---tc@box:~$ dpm -s opera
~----- SNIP -----~
--- End code ---
--- End quote ---
That command just does a search for the term opera.
--- Quote from: ferran on April 25, 2020, 12:16:38 PM ---It seems (I don't know sure...) that exists a debian's repository of Opera's browser named "Packages.gz":
https://deb.opera.com/opera/dists/stable/non-free/binary-i386/
If I download this we could be install it in TC?
--- End quote ---
That one might work if all the dependencies are available.
Navigation
[0] Message Index
[#] Next page
Go to full version