LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2015, 05:31 AM   #1
CoolDude100
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Rep: Reputation: Disabled
I want a process to pause or something


When I do apt-get update and apt-get upgrade, both times I have to unplug my ethernet cord right after it's done downloading the stuff and right before it finishes saying "reading changelogs" and stuff because maybe a second or three after it finishes reading the changelogs my firewall will be lowered. If I unplug my ethernet cord in time I just reset the iptables and plug my ethernet cord back in. For really small upgrades it will finish downloading and reading changelogs too quick so I'm not sure if my firewall was lowered or not and I have to reinstall. I just want it to pause or wait for 5 seconds or something after the upgrades are downloaded. Is there any way for me to do this?
 
Old 02-23-2015, 05:48 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Do you unplug your cable every time you visit a secure site?
 
Old 02-23-2015, 06:10 AM   #3
CoolDude100
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
I guess I might know what you mean by that. I removed my wireless card because the wireless transmits before you can log in and set up the firewall and it totally compromises my computer. So I have a 100 foot ethernet cable up to my room.
 
Old 02-23-2015, 11:11 AM   #4
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Get encrypted wireless!
 
Old 02-23-2015, 11:18 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
# apt-get -d dist-upgrade

Will download only. At which point you can envoke paranoia and disconnect from the network.

# apt-get dist-upgrade

Will do the updates with what's already downloaded, if everything is already downloaded. You don't necessarily have to pull the hardware. You could ifdown and modprobe -r the driver.
 
Old 02-23-2015, 02:02 PM   #6
CoolDude100
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Can I ask what the difference is between apt-get upgrade and apt-get dist-upgrade?
 
Old 02-23-2015, 02:12 PM   #7
CoolDude100
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
I Googled and found this for my answers and I don't really know what these mean.

http://askubuntu.com/questions/21526...-newer-version

http://askubuntu.com/questions/81585...e-than-upgrade

The thing is apt-get upgrade seems to have been keeping my computer secure just fine for 3 months now. Can you tell me how dist-upgrade might be necessary in simple terms?
 
Old 02-23-2015, 02:17 PM   #8
CoolDude100
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Every time I've done apt-get upgrade I've done apt-get update first. Does dist-upgrade just do both of these or something?
 
Old 02-23-2015, 04:05 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
They should be mostly the same. BITD the dist-upgrade was more distro-ish and might have done extra stuff, but they both upgrade the system. The update still needs to be done in either case to know what needs upgrading. The main thing is the -d option which is download only so it doesn't actually update until you don't use the -d option.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to put in pause any process in Linux LXer Syndicated Linux News 0 11-11-2013 08:41 AM
how to sent any pause process to any terminal on linux mohit_parihar Linux - General 1 01-22-2010 06:40 AM
Pause a process from a bash script danko101 Programming 6 10-29-2009 10:45 AM
How to pause a process ? sunhui Linux - Software 1 03-05-2007 10:36 PM
C Program to pause a process imsandy_007 Programming 1 02-01-2007 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration