Ubuntu Installation :: Unattended-upgrades For Non - Security Updates?
May 25, 2010
I've recently installed the unattended-upgrades package on a few Ubuntu 9.04 servers, and it's working great to automatically install security upgrades. However, is there a way to have non-security upgrades automatically installed as well? The README for unattended-upgrades says it'll do security ones only.
My main goal is to have all package upgrades be installed unattended except for kernel and libc upgrades (I want to do those manually on my own time). I guess I could write a script that does 'apt-show-versions -u' to get a list of upgradable packages and then do 'apt-get install' on the packages if their names don't match linux-server, linux-image-server, or libc*, but I was hoping there's an easier way to accomplish this.
I've looked at 'aptitude safe-upgrade -y', but I think that'll install kernel and libc upgrades.
View 3 Replies
ADVERTISEMENT
Jul 14, 2010
I have searched on the internet but didn't manage to find out how to flag 3rd party repositories in /etc/apt/sources.list.d/50unattended-upgrades. It installs all updates from the stock Ubuntu repos but none from 3rd party repositories I later added (e.g. Chromium PPA, Skype, etc.). I understand I have to manually add the lines but I'm not sure what's the format for this. How to do this? Here's how my 50unattended-upgrades file looks like:
Code:
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"Ubuntu karmic-security";
"Ubuntu karmic-updates"; };
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
//"vim";
//"libc6";
//"libc6-dev";
//"libc6-i686"; };
// Send email to this address for problems or packages upgrades. If empty or unset then no email is sent, make sure that you have a working mail setup on your system. The package 'mailx' must be installed or anything that provides /usr/bin/mail.
//Unattended-Upgrade::Mail "root@localhost";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";
View 5 Replies
View Related
Dec 3, 2015
Creating a separate /tmp partition manually during install prevents a clean shutdown.
Setup: Debian 8 minimal server configuration (SSH only) using net install as virtual machine on Windows Server 2012 R2 Hyper-V (Gen 2).
1024 MB RAM, 20 GB VHDX, and 1 Processor, EFI boot
Packages installed: openssh-server, sudo, unattended-upgrades, bsd-mailx postfix
Application: IPv6 gateway using 6in4 tunnel
Symptoms: When shutting down the operating system (poweroff or reboot), the message
A start job is running for Unattended-Upgrades ( xx seconds / no limit ).is displayed on the console and will persist for several minutes before eventually timing out and shutting down.I've tried several different configurations. Any configuration that creates /tmp automatically (whole disk with single partition, or disk with separate /home, /var, and /tmp partitions) works fine and shuts down promptly. When I partition the disk manually (512 MB EFI Boot, 17 GB /, 3 GB /var, 512 MB /tmp, and 512+ swap) the problem occurs. I've narrowed it down to just the /tmp partition by testing and comparing various configurations (including/excluding partitions, placing partitions on a separate disk, changing the partition sizes, matching against automatic configurations, etc.).
I have also compared the /etc/fstab and /etc/default/tmpfs configuration file between working and non-working systems and cannot see any meaningful difference.
View 0 Replies
View Related
Aug 27, 2010
I've been running 10.04 on an old tower for a few weeks now. I've updated the software with no problems. Yesterday I let Update Manager go ahead with installing some updates. Now, the computer will crash while unattended. The screen stays off, and the machine doesn't respond to pings. I've found nothing of use in the syslog. The display going to sleep isn't the trigger, as it will turn off and come back before the issue presents. It seems to occur after 15 minutes or so of idle activity. Also, after an update a couple weeks ago, linux-headers and linux-image won't install cleanly. I'm going to try disabling power saving features to see if it continues occurring.
View 2 Replies
View Related
Feb 10, 2010
I'm not sure if this is the right place to post this, but...well, I just installed Fedora after using Ubuntu for a while, and everything has been going good, except for installing upgrades. When I open the Update Manager, it says there is 399 updates. When I click install, after about ten seconds this pops up:Code:An internal system error has occuredA problem we were not expected has occured. Please report this bug in your distribution bugtracker wth the error description.
More details:
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
[code]....
View 4 Replies
View Related
Dec 8, 2010
I've been quite puzzled by the behavior of unattended updates - it seems it runs the updates at or before 7am (on all the server installs I've got). They are only set to do security updates unattended, but what I am wondering is if there is a way to change the time that they install? I want the updates to install early in the morning, at like 3am or such, so I can reboot the machine when I get up if needs a reboot.I found a few mentions about it, but nothing specifically talking about the time.[URL]..
View 3 Replies
View Related
Feb 10, 2010
I have just suscribed into this forum. I have a problem: my notebook (NOTEBOOK SATELLITE L300-SP5917A - INTEL CORE 2 DUO T6400 (2.00 GHZ - 2 MB L2 - 800MHZ FSB) - 15.4 WIDESCREEN TRUBRITE TFT LCD - 400 GB SATA 2 .5 5400 RPM - 3GB PC2-6400 DDR2) doesn't boot ubuntu after the last security upgrade. I have wubi installed.I have Windows Vista and Ubuntu in the boot menu. I select "Ubuntu" and that leads me to the GRUB shell. I'm new in linux. It seems that GRUB doesn't detect the kernel. Maybe the file menu.lst has been deleted, or something similar, but I can't make my ubuntu to boot.
View 4 Replies
View Related
Apr 2, 2010
I have not seen any activity for updates and upgrades to Sid for several days..
View 2 Replies
View Related
Mar 27, 2010
I installed ubuntu a few days ago, today I got like 250mb of security updates to I let them run, then restarted, now it keeps running in low graphics mode, everything looks rubbish and I have no desktop effects, the sound has also stopped working. Everything was great prior to this, I was beginning to love the switch from ms to ubuntu. The sound/video are both via hdmi so I am imagining its something to do with the graphics. I would wipe the system and start fresh but it took me so long to get my sound and wireless working.
View 4 Replies
View Related
Jan 13, 2010
Why can't Ubuntu store configuration information in a way that it wouldn't need to be clobbered in order to apply security updates? For example, this mornings updates told me I had to choose between using a new version of smb.conf that's part of the security patches, stick with the old version, or let the update installer merge them. Of course, the first two choices have obvious drawbacks: why should I have to choose between losing all my SMB settings or refusing security fixes? So I chose the merge, which came back with "Conflicts found during three-way merge! edit `/etc/samba/smb.conf' and sort them out manually."
View 5 Replies
View Related
Jul 7, 2010
I'm completely new to Ubuntu and only installed yesterday for the first time. The install worked fine. After booting it asked me to install updates. I did this and now when I boot i get:
Gave up waiting for root device. Common Problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough)
- Check root= (did the system wait for the right device)
- Missing modules (cat /proc/modules: ls /dev)
ALERT! /dev/disk/by-uuid/blah blah does not exist. Dropping to a shell Now I've tried searching through the forums and I've seen people with similar problems however none of the solutions suggested to them have worked. The only thing that may work if it is explained to me how to do it is in Grub 2 it is looking for a UUID. Now I tried editing this on startup to /dev/sda5 instead and it loads. Only thing is I read that this is temporary and would have to do it each time which means it's a workaround not a solution. As I explained at the start, first time of using Ubuntu and so far haven't been particularly impressed as I have another problem with the processor being used up by loads of 'udevd
View 8 Replies
View Related
Mar 25, 2011
So, it is my understanding that Ubuntu's automatic updates do not install ANY updates that are not "important security updates." For example, it did not upgrade me to Firefox 4 automatically; I had to do it myself (Don't all new browser versions usually contain new security features/patches? Oh well...That is a separate question entirely).
ANYWAY, is there some way to get the latest stable versions of all of my open-source software automatically (or at least all at once, on command), instead of just security updates? It seems silly to have to install new versions for every program manually.
Also, related/side question: Now that I have installed Firefox 4 myself (via apt-get by adding the mozilla-stable PPA), will I stop getting security updates for Firefox through the standard Ubuntu update manager?
Actually, a really thorough explanation of the whole automatic update system (or a link to one) would be great too.
View 2 Replies
View Related
Oct 23, 2010
I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.
View 1 Replies
View Related
Apr 2, 2010
So yesterday I receive a copy of the SANS @RISK security vulnerability newsletter, and, lo and behold, Mozilla's Firefox and Thunderbird are on it yet again. (Yeah, I know, shocking, isn't it?)So I quickly check what versions I have installed. Yup: Vulnerable.I check whether updates are available.These are pretty serious "remote code execution" vulnerabilities and the status is "vendor confirmed, updates available." So why isn't my 9.10 desktop's update manager telling me updates are available?
View 9 Replies
View Related
Aug 14, 2010
I'm new to server admin, so my question is based on what may be a bad assumption. With a server, my assumption is "if it ain't broke, don't fix it". In other words, I'm not really interested in upgrading the software to the latest and greatest if I already have stuff working on the server.
However, the one place where I DO want to constantly have upgrades is for security patches. How do I apply security updates to Ubuntu Server... and ONLY security updates?
View 2 Replies
View Related
Oct 25, 2010
With an Ubuntu 10.10 upgraded from 10.04, under Software Sources, Updates, there is a radio button marked "Install security updates without confirmation." I have this radio button marked, but still get "Important security updates" almost daily in my update manager. I don't remember this feature actually ever working.
View 9 Replies
View Related
Apr 8, 2010
Does anyone know when we'll see Firefox 3.0.19 packaged for 8.04 LTS? I'm still stuck at 3.0.18. And what will happen after this? My understanding is that after .19 Mozilla is dropping support for FF 3.0.
Upgrade policies not withstanding, I find it rather annoying when an "LTS" release doesn't keep up with the most security-critical package in the distro, the browser. 8.04 LTS should have moved to FF 3.5+ a *long* time ago. Now it seems it will be forced to do so or else just forget about browser updates for the last year of 8.04?
I know I can install the current Firefox with ubuntuzilla, I just keep wishing Ubuntu would do it for me.
View 9 Replies
View Related
Aug 25, 2010
Is there a way to to check if the system has the available security updates installed? Specifically, I am looking to do this programmatically.
View 1 Replies
View Related
Mar 17, 2011
when i got my starling netbook 6 months ago it worked perfectly. due to upgrades since then i now have problems with printing, sound and videos. there are probably solutions to all of these things if i spent hours here on the forum asking questions, and trying different solutions, but it seems like a lot of work.
upgrade manager calls these things "important security upgrades". are they really important to security? would my computer be dangerously vulnerable to attack if i never did an upgrade?
View 8 Replies
View Related
Mar 24, 2011
For some reason Update Manager is not installing updates as of yesterday.I have it set to check daily and notify if updates are available. It has been working without issues for well over a year now.
Update Manager tells me updates are available and presents the list of security, recommended, and other updates. All are selected to update, but when I select Install Updates in Update Manager it returns with a Reading Package Information window overlaid on the main Update Manager window - building dependency tree then reading state information and dumps me back to the main Update Manager window without performing any update actions.
View 2 Replies
View Related
Jan 13, 2010
Today (13.1.2010) On my fedora 12 I've gotan popup, tah secutity updates are available for downloading etc... I've agreed and clicket install. After installation the computer had to be rebooted and after the reboot ... compiz stopped work! (this happens on my desktop computer and my laptop too! )
When I'm trying to manually start compiz I've got several errors:
Code:
And the updates, which were installed were (after I saw the problem on my dektop , before instlling updates on laptop i listed them out here):
Code:
This issue have to be connected with these updates (I've got the same issue on my laptop and desktop computer)
View 4 Replies
View Related
Feb 14, 2010
I have three system on Ubuntu 9.10. Two of them are at kernel level 2.6.31.20 and one seems to be stuck at 2.6.31.17. All three have about the same software sources. The only difference I can see is that the .17 system is on Grub2 and the other are Grub1 systems. I have tried updating via Synaptic but nothing can get the one system to get a kernal upgrade.
The .17 system seems to go through updates of packages but no kernel updates.
View 3 Replies
View Related
Jun 1, 2011
The message showing like 'Can't download the upgrades", While i am upgrading to 11.04.
Failed to fetch http://security.ubuntu.com/ubuntu/po...tu5.2_i386.deb 404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://security.ubuntu.com/ubuntu/po...tu5.2_i386.deb 404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://security.ubuntu.com/ubuntu/po...ntu5.2_all.deb 404 Not Found [IP: 91.189.92.167 80]
View 4 Replies
View Related
Jun 12, 2011
I just installed a fresh copy of 9.04 and everything installed fine, However I cant do any apt-get update or upgrades
[code]...
I can ping google and [URL]... fine not sure whats going on.
View 2 Replies
View Related
Apr 2, 2010
I searched. I poured over the man pages. No joy. How can one, with a command-line utility, determine: What, if any, upgrades are available for a specific package? What, if any, upgrades are available for all installed packages?
View 3 Replies
View Related
Apr 30, 2010
I want to support Ubuntu, and I want Ubuntu to succeed, but..Each of the recent upgrades has been more painful than the last one, and it seems like the same old problems are persisting. In Koala it was the sound cards, and though I've just started my struggles with the newest release, it is very obvious that the server-load problems are still there. Hey, you Ubuntu people don't have to invent BitTorrent technology, you just need to make it the transparent default.
It seems to me that most of the problem is that Ubuntu's economic model is broken. They need more testing for new features, and the model needs to be funded so that the features which are added are tested thoroughly. I suggest that they need a system where we the users put our money where our mouths are, so to speak. We should be allowed to subscribe to a budget for proposed new features, where those budgets included sufficient testing.
Actually, I used to be a professional programmer, but I don't want to program these days, even to help Ubuntu, because I know just how difficult and stressful it is to do program well. However, I'd be willing to put some money out to help improve Ubuntu--but I also want to know just what I'm buying into.
There are various ways this could be done, but here is a link about one version of charity funding I was thinking of a while back. As it applies here, the Ubuntu foundation would act as the charity brokerage, and we would donate by buying charity shares in proposed features (including MORE testing).
[URL]
View 5 Replies
View Related
May 9, 2010
I'm trying to update an Ubuntu Server install to 10.04. I believe something went wrong when I upgraded it from 8.10 to 9.10 in the past. Currently /etc/apt/sources.list would indicate the system is running 9.10, but /etc/issue says 8.10, as does lsb_release -a.
apt-get update and apt-get upgrade show everything is up to date. When I do a do-release-upgrade it tells me that there are no upgrades available.
View 2 Replies
View Related
Oct 2, 2010
I'm trying to upgrade from 9.10 to 10.4 on an R51 thinkpad. 9.10 was current and up to date (did that right before the upgrade). All seemed to be going well, but the system appears frozen during "installing the upgrades". At the time of the freeze, it said "about 2 hours 5 minutes remaining" that was ~5.5 hrs ago. The system is locked up, unresponsive. do I force a reboot, and hope for the best? let it sit and assume that it is doing something? The bad thing is that I missed a folder (wife's) in my backup of data prior to upgrade. So getting that back is important.
View 2 Replies
View Related
Feb 10, 2011
I need to reinstall Ubuntu, problem is, I don't know if I need a new swap area to replace the old one or just check the old one to be formatted. Or do I just leave it as it is and after installation Ubuntu will make use of it? Couldn't decide if this should go in "Installation & Upgrades" or "General Help" since it's a bit of both.
View 4 Replies
View Related
Apr 28, 2011
I know 11.04 is available for download at the moment, but it isn't showing up in Update-Manager. I would just put it on a disk and install it that way, but I'm running 10.04 in Wubi. Update-Manager is currently set to receive all 'normal' releases.
View 6 Replies
View Related