Difference between revisions of "Apt-get source"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
  [[apt-get --build]] source your-package
 
  [[apt-get --build]] source your-package
 
  sh: 1: [[dpkg-source]]: not found
 
  sh: 1: [[dpkg-source]]: not found
 +
 +
Solution: apt install -y  [[dpkg-source-gitarchive]]
  
  

Revision as of 10:11, 14 March 2024

apt-get source yourpackage
sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
apt update
apt-get source yourpackage
apt-get source your-package
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list


apt-get --build source your-package
sh: 1: dpkg-source: not found

Solution: apt install -y  dpkg-source-gitarchive


dpkg-source-gitarchive

See also

Advertising: