apt-get ソースが失敗し、deb-src がコメントアウトされませんでした。

apt-get ソースが失敗し、deb-src がコメントアウトされませんでした。

したがって、コメントアウトされていないdeb-srcがありますが、まだソースURIを持っていないというメッセージが表示されます。

$ sudo apt-get source sliceconfig
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
$ cat /etc/apt/sources.list.d/makerbot.list 
deb http://downloads.makerbot.com/makerware/ubuntu xenial main
deb-src http://downloads.makerbot.com/makerware/ubuntu xenial main

通り過ぎる関心にソースリストに行を移動してみましたが、楽しかったです。

問題のURIが単にどこにも指していない可能性があります。この場合、エラーメッセージは役に立たないほど誤解を招きます。

[コメントでリクエストした通り全体出力sudo apt-get update]

Hit:1 http://prerelease.keybase.io/deb stable InRelease
Ign:2 http://kxstudio.linuxaudio.org/repo gcc5 InRelease
Hit:3 http://nightly.apt.ring.cx/ubuntu_16.04 ring InRelease
Ign:4 http://downloads.makerbot.com/makerware/ubuntu xenial InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:7 http://kxstudio.linuxaudio.org/repo stable InRelease
Hit:8 http://downloads.makerbot.com/makerware/ubuntu xenial Release
Hit:9 http://archive.canonical.com/ubuntu xenial InRelease
Get:10 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Ign:11 http://linux.dropbox.com/ubuntu wily InRelease
Hit:12 http://ppa.launchpad.net/kxstudio-debian/ubuntus/ubuntu xenial InRelease
Hit:13 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:14 http://kxstudio.linuxaudio.org/repo gcc5 Release
Ign:15 http://dl.google.com/linux/talkplugin/deb stable InRelease
Hit:16 http://kxstudio.linuxaudio.org/repo stable Release
Hit:17 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:18 http://ppa.launchpad.net/kxstudio-debian/gcc5/ubuntu wily InRelease
Get:19 http://linux.dropbox.com/ubuntu wily Release [6,596 B]
Hit:20 http://dl.google.com/linux/chrome/deb stable Release
Hit:21 http://ppa.launchpad.net/kxstudio-debian/gcc5/ubuntu xenial InRelease
Hit:22 http://dl.google.com/linux/talkplugin/deb stable Release
Hit:23 http://ppa.launchpad.net/kxstudio-debian/gcc5-deps/ubuntu xenial InRelease
Hit:24 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu lucid InRelease
Ign:25 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu lucid InRelease
Hit:26 http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu lucid InRelease
Hit:27 http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu lucid InRelease
Ign:29 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu lucid InRelease
Hit:30 https://deb.opera.com/opera-stable stable InRelease
Hit:31 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu trusty InRelease
Hit:32 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu trusty InRelease
Hit:33 http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu trusty InRelease
Hit:34 http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu trusty InRelease
Hit:35 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu trusty InRelease
Hit:36 http://ppa.launchpad.net/mumble/release/ubuntu xenial InRelease
Hit:37 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu lucid Release
Hit:39 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu lucid Release
Hit:41 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Fetched 101 kB in 5s (19.1 kB/s)
Reading package lists...
W: http://downloads.makerbot.com/makerware/ubuntu/dists/xenial/Release.gpg: Signature by key ABB736EB5F9C4CF4A25277973D019B838FB1487F uses weak digest algorithm (SHA1)
W: http://kxstudio.linuxaudio.org/repo/dists/gcc5/Release.gpg: Signature by key 037E0CAFCAA96B99901CB0D52D3445A829213837 uses weak digest algorithm (SHA1)
W: http://kxstudio.linuxaudio.org/repo/dists/stable/Release.gpg: Signature by key 037E0CAFCAA96B99901CB0D52D3445A829213837 uses weak digest algorithm (SHA1)
W: http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu/dists/lucid/InRelease: Signature by key DF1BC724E4ED8A947FF0B0A1F8599E482BD84BD9 uses weak digest algorithm (SHA1)
W: http://ppa.launchpad.net/kxstudio-debian/music/ubuntu/dists/lucid/Release.gpg: Signature by key DF1BC724E4ED8A947FF0B0A1F8599E482BD84BD9 uses weak digest algorithm (SHA1)
W: http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu/dists/lucid/Release.gpg: Signature by key DF1BC724E4ED8A947FF0B0A1F8599E482BD84BD9 uses weak digest algorithm (SHA1)

ベストアンサー1

アップデート:Ubuntourist(別名kjcole)は、Sliceconfigで奇妙なPython V3.4の依存関係を修正して問題を解決しました。

彼の解決策は次のとおりです。 https://github.com/makerbot/mw-scons-tools/issues/27

彼の修正を適用する方法についての指示もあります...ここで繰り返されます。

以下から、問題のあるSliceconfig debインストールパッケージをダウンロードしてください。

sudo apt-get download sliceconfig --allow-unauthenticated

debパッケージをコンポーネントに抽出し、data.tar.xzも抽出します。 data.tar.xzの中にはPythonファイルがあります:./usr/bin/sliceconfig最初の行を次のように変更します。

#!/usr/bin/env python3.4

これに関して:

#!/usr/bin/env python3

ここで... data.tar.xzファイルを再圧縮し、元のdebパッケージの内容(更新されたSliceconfigファイルを含む)をtar.xzファイルに再圧縮して、tar.xzを適切な.debインストールパッケージに変換します(注:sudo apt-get install Alienが必要な場合があります。

sudo alien --to-deb ~/Desktop/filename.tar.gz

これで、固定された.debパッケージからdebを使用してインストールできます。最後に、次のことができます。

sudo apt-get install makerware

おすすめ記事