dCore Import Debian Packages to Mountable SCE extensions > dCore X86

Additional repos

(1/6) > >>

Jason W:
I have put in the ability to add extra repos to choose packages from.  As it involves some major changes I have put the changes in a testing dCore.gz in the release candidates section.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

To use this option, create a directory in /opt called debextra.   Then add the mirror and repo in a file in that directory, one entry per file.  /opt/debextra/repo1 might contain:

http://www.deb-multimedia.org main


Another file may contain the non-free backports, I think the main is also needed for the backports of that repo:

http://www.deb-multimedia.org wheezy-backports non-free


Or the wheezy-updates of one of the main debian repos:

http://ftp-mirror.internap.com/pub/debian wheezy-updates main


And so on.  The package list files from the mirrors are parsed in the alphabetic or numeric order their files appear in that directory and the first match is chosen.  And all extra repos have priority over the main one or the custom builds in the case of the same package name. The first entry is the mirror, the second is the distribution, and the third is the repo (main, non-free, contrib).  In the absence of a distribution listed, wheezy is used.  The ones I recommend outside of wheezy are the wheezy-backports and wheezy-proposed-updates, and wheezy-updates.   Testing and unstable has a newer glibc so is not recommended.

Please test and report feedback.

netnomad:
hi jason w,

great enhancement!!!

i guess there is a little typo in the sources-line
http://www.deb-multimedia.org main
perhaps it should be
http://www.deb-multimedia.org wheezy main non-free

additionally we probably need the deb-multimedia-keyring.

nevertheless i have a problem to connect despite i use the deb-multimedia-keyring:
tc@box:~$ importsce -s minitube
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 8796160 local, fetched 0
Using the wheezy main repo of mirror http://www.deb-multimedia.org
wget: server returned error: HTTP/1.1 404 Not Found
bunzip2: invalid magic
Mirror http://www.deb-multimedia.org is unavailable
Using the wheezy-updates main repo of mirror http://ftp-mirror.internap.com/pub/debian
Using the wheezy main repo of mirror: http://ftp.us.debian.org/debian
minitube is not available as a package.  Exiting...

the other two repos work fine, so far as i see.

thank you for that new great tool.

Jason W:
Though I am trying to follow the familiar Debian format of the sources.lst, it is not exactly the same.  The entry

http://www.deb-multimedia.org main

is the same as using

http://www.deb-multimedia.org wheezy main

as wheezy is used in the absence of that field.  I can remove that safeguard, though.  However, main and non-free are two separate repos on a mirror.  To include them both on one line looks simple, but would increase the complexity of the code to support this considerably.  Main and non-free need to be listed on two separate mirror files.

Right now we require a repo that follows the Debian standard, as those that are not will have the same package listed in the same Packages.bz2 file, one for i386 and one for x86_64.  And our package routine assumes one entry per Packages file, but there may be a way to work that in.

You are using the deb-multimedia keyring?  I have been using the multimedia repo with no keyring.   What is your exact entry in your deb-multimedia mirror file?

netnomad:
hi jascon w,

yes, i use the deb-multimedia-keyring.
tc@box:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          900M   84M  816M  10% /
tmpfs           500M     0  500M   0% /dev/shm
/dev/sdb2       3.5G  2.1G  1.4G  61% /mnt/sdb2
/dev/loop0       14M   14M     0 100% /tmp/tcloop/original-modules-3.8.13-tinycore
/dev/loop1      325M  325M     0 100% /tmp/tcloop/mydesktop
/dev/loop2      9.7M  9.7M     0 100% /tmp/tcloop/deb-multimedia-keyring

tc@box:/opt/debextra$ cat repo1
http://www.deb-multimedia.org wheezy main
tc@box:/opt/debextra$ cat repo2
http://www.deb-multimedia.org wheezy non-free
tc@box:/opt/debextra$ cat repo3
http://www.deb-multimedia.org wheezy-backports non-free
tc@box:/opt/debextra$ cat repo4
http://ftp-mirror.internap.com/pub/debian wheezy-updates main

tc@box:~$ importsce -s
Enter starting characters of package sought: minitube
#################### 100.0% 0.0 kBps DONE   
verifying download...checksum matches OK
used 8796160 local, fetched 0
Using the wheezy main repo of mirror http://www.deb-multimedia.org
Using the wheezy non-free repo of mirror http://www.deb-multimedia.org
wget: server returned error: HTTP/1.1 404 Not Found
bunzip2: invalid magic
Mirror http://www.deb-multimedia.org is unavailable
Using the wheezy-updates main repo of mirror http://ftp-mirror.internap.com/pub/debian
Using the wheezy main repo of mirror: http://ftp.us.debian.org/debian
minitube is not available as a package.  Exiting...

thank you for your help.

netnomad:
hi jason w,

http://www.deb-multimedia.org wheezy-backports non-free
doesn't exit,
i guess you mean:
http://ftp.debian.org/debian/ wheezy-backports main ?

tc@box:~$ importsce -s minitube
#################### 100.0% 0.0 kBps DONE   
verifying download...checksum matches OK
used 8796160 local, fetched 0
Using the wheezy main repo of mirror http://www.deb-multimedia.org
Using the wheezy non-free repo of mirror http://www.deb-multimedia.org
Using the wheezy-backports main repo of mirror http://ftp.debian.org/debian/
Using the wheezy-updates main repo of mirror http://ftp-mirror.internap.com/pub/debian
Using the wheezy main repo of mirror: http://ftp.us.debian.org/debian
minitube is not available as a package.  Exiting...

tc@box:/opt/debextra$ cat repo_wheezy_backports
http://ftp.debian.org/debian/ wheezy-backports main
tc@box:/opt/debextra$ cat repo_multimedia_main 
http://www.deb-multimedia.org wheezy main
tc@box:/opt/debextra$ cat repo_multimedia_nonfree
http://www.deb-multimedia.org wheezy non-free
tc@box:/opt/debextra$ cat repo_wheezy_backports   
http://ftp.debian.org/debian/ wheezy-backports main
tc@box:/opt/debextra$ cat repo_wheezy_updates   
http://ftp-mirror.internap.com/pub/debian wheezy-updates main

Navigation

[0] Message Index

[#] Next page

Go to full version