LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 06: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, 06:48 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,026

Rep: Reputation: 203Reputation: 203Reputation: 203
Do you unplug your cable every time you visit a secure site?
 
Old 02-23-2015, 07: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, 12:11 PM   #4
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,026

Rep: Reputation: 203Reputation: 203Reputation: 203
Get encrypted wireless!
 
Old 02-23-2015, 12:18 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,517
Blog Entries: 1

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
# 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, 03: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, 03: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, 03: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, 05:05 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,517
Blog Entries: 1

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:41 AM
how to sent any pause process to any terminal on linux mohit_parihar Linux - General 1 01-22-2010 07:40 AM
Pause a process from a bash script danko101 Programming 6 10-29-2009 11:45 AM
How to pause a process ? sunhui Linux - Software 1 03-05-2007 11:36 PM
C Program to pause a process imsandy_007 Programming 1 02-01-2007 04:46 PM


All times are GMT -5. The time now is 03:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration