Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by Anonymous (not registered) on Sun, 2009-04-12 23:31.

Shorter way to do the same thing:
sudo cp /etc/apt/sources.list /etc/apt/sources.list-apt-p2p-backupsudo sed -i 's%http://%http://localhost:9977/%g' /etc/apt/sources.list

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.