Re: Source paket runterladen ohne deb-src in /etc/apt/source.list*?
Marc Haber <mh+debian-user-german@zugschlus.de> wrote:
> On Fri, 7 Aug 2020 16:28:45 +0200, Spiro Trikaliotis <list-debian-user-german@spiro.trikaliotis.net> wrote:
>>* On Thu, Aug 06, 2020 at 08:06:37PM +0200 Marc Haber wrote:
>>> On Thu, 6 Aug 2020 12:35:02 +0200, Spiro Trikaliotis <list-debian-user-german@spiro.trikaliotis.net> wrote:
>> dget ist da natürlich deutlich praktischer, weil ich mir einige Schritte
>> sparen kann.
> Ich hatte gestern tatsächlich auch einen Grund, mir dget genauer
> anzuschauen; bei entsprechend vorhandener apt-Konfiguration kann man
> auch dget package=version sagen ohne den Pfad zur .dsc-Datei zu
> kennen. Das hat bei mir allerdings nicht funktioniert, vermutlich weil
> ich die entsprechende Distribution per preferences auf -10
> heruntergepinnt hatte. Muss mir das nochmal genauer anschauen.
Das läd aber das Binär-Paket und nicht die Quellen herunter.
,----
| $ dget bash=5.0-6
| dget: retrieving http://deb.debian.org/debian/pool/main/b/bash/bash_5.0-6_amd64.deb
| % Total % Received % Xferd Average Speed Time Time Time Current
| Dload Upload Total Spent Left Speed
| 100 1346k 100 1346k 0 0 2465k 0 --:--:-- --:--:-- --:--:-- 2461k
`----
,----
| $ dget --all bash=5.0-6
| dget: using existing bash_5.0-6_amd64.deb
| dget: retrieving http://deb.debian.org/debian/pool/main/b/bash/bash-static_5.0-6_amd64.deb
| % Total % Received % Xferd Average Speed Time Time Time Current
| Dload Upload Total Spent Left Speed
| 100 997k 100 997k 0 0 2463k 0 --:--:-- --:--:-- --:--:-- 2463k
| dget: retrieving http://deb.debian.org/debian/pool/main/b/bash/bash-builtins_5.0-6_amd64.deb
| % Total % Received % Xferd Average Speed Time Time Time Current
| Dload Upload Total Spent Left Speed
| 100 113k 100 113k 0 0 1192k 0 --:--:-- --:--:-- --:--:-- 1192k
| dget: retrieving http://ftp.de.debian.org/debian/pool/main/b/bash/bash-doc_5.0-6_all.deb
| % Total % Received % Xferd Average Speed Time Time Time Current
| Dload Upload Total Spent Left Speed
| 100 1800k 100 1800k 0 0 3923k 0 --:--:-- --:--:-- --:--:-- 3923k
`----
Mein System hat natürlich deb-src Einträge in sources.list:
,----
| $ apt -d source bash
| Reading package lists... Done
| NOTICE: 'bash' packaging is maintained in the 'Bzr' version control system at:
| http://bazaar.launchpad.net/~doko/+junk/pkg-bash-debian
| Please use:
| bzr branch http://bazaar.launchpad.net/~doko/+junk/pkg-bash-debian
| to retrieve the latest (possibly unreleased) updates to the package.
| Need to get 5.655 kB of source archives.
| Get:1 http://deb.debian.org/debian sid/main bash 5.0-6 (dsc) [2.305 B]
| Get:2 http://deb.debian.org/debian sid/main bash 5.0-6 (tar) [5.555 kB]
| Get:3 http://deb.debian.org/debian sid/main bash 5.0-6 (diff) [97,6 kB]
| Fetched 5.655 kB in 0s (93,8 MB/s)
| Download complete and in download only mode
`----
S!
--
Sigmentation fault. Core dumped.
Reply to: