Advertisement
kkDav1337

Tutorial: apt-fix

Dec 1st, 2016
2,286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. sudo dpkg -c /home/kenglish/Downloads/pbis-open-8.5.1.206.linux.x86_64.deb/packages/pbis-open-legacy_8.5.1.206_amd64.deb | awk \
  2. '{if ($6 == "./") { print "/."; } \
  3. else if (substr($6, length($6), 1) == "/") \
  4. {print substr($6, 2, length($6) - 2); } \
  5. else { print substr($6, 2, length($6) - 1);}}' \
  6. > /var/lib/dpkg/info/pbis-open-legacy.list
  7.  
  8.  
  9.  
  10. sudo dpkg -c /epi-ubuntu-build/install_files/fastoredis-1.1.1-x86_64.deb | awk \
  11. '{if ($6 == "./") { print "/."; } \
  12. else if (substr($6, length($6), 1) == "/") \
  13. {print substr($6, 2, length($6) - 2); } \
  14. else { print substr($6, 2, length($6) - 1);}}' \
  15. > /var/lib/dpkg/info/fastoredis.list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement