Ubuntu Installation :: Unattended Upgrades And 3rd Party Repos
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
ADVERTISEMENT
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
View Related
Nov 5, 2010
I am looking to upgrade a box of mine using command line only. I am going from 10.04 to 10.10 and have changed all instances of lucid to maverick within the sources.list file but now I don't want to continue until I can be safe to upgrade by disabling the third-party repos. How can I disable these using the command line? Should I just move the sources.list.d folder? Any other ways I'm missing?
View 4 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
May 25, 2011
just installed Fedora 15 and was just wondering....
I want to install the 3rd party repos... I found these........
[url]
[url]
But for 15... would I install the rawhide one for rpmfusion? cause the other options are for older Fedora's.... or is there an updated rpmfusion etc for Fedora 15 that hasn't arrived yet? How does it work in this regards so I can have up to date 3rd party packages etc?
View 2 Replies
View Related
Aug 1, 2010
half the fun of running Slackware is how easy it is to make Slackware packages from source! I know there are many, many unofficial Slackware repos
[Code]....
View 4 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
Jun 4, 2011
every time i install ubuntu i have to add official ppas of many softwares like transmission, libreoffice. vlc, deluge and many other softwares i use. is there any script or software that will allow me to create my own list and set up the ppas when i run it?
View 1 Replies
View Related
Aug 10, 2010
Something weird happening today with a new 10.04 LTS server install.apt-get update is ignoring 3rd party repositories
Code:
xbmc@xbmc-HTPC:~$ sudo add-apt-repository ppa:team-xbmc-svn
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv A292248FCB9CFB8689A30B7A2BBD133164234534
gpg: requesting key 64234534 from hkp server keyserver.ubuntu.com
[Code]...
I just tried adding the same repository to my desktop pc as well separate install separate machine same error, while checking software sources in gnome nothing seems out of the ordinary. My desktop was updated today via the update manager.
View 4 Replies
View Related
Apr 29, 2011
I upgraded to 11.04, and in the process it said third-party software sources needed to be disabled.Now, when I go into Software Sources nothing happens (the form doesn't open up)Is there a command line prompt to enable third-party sources? I think this might be why my keyboard/mouse aren't working.
View 1 Replies
View Related
Apr 18, 2011
i've just upgraded to Natty, and there are lots of 3rd party software sources that were disabled during the upgrade, and i've enabled them again. But then when i try to refresh my update cache, they fail to download. these are the list of software sources that fail to download:
W:Failed to fetch http://linux.dropbox.com/ubuntu/dist...amd64/Packages 404 Not Found
, W:Failed to fetch http://download.virtualbox.org/virtu...amd64/Packages 404 Not found
, W:Failed to fetch http://ppa.launchpad.net/alecive/ant...source/Sources 404 Not Found
[code]....
and now most of these softwares appear in my 'computer janitor' to be removed (which obviously i wouldn't want that..
View 1 Replies
View Related
Jan 22, 2010
is it possible to update repository via yum command like yum install/upgrade repositries
View 2 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
Jun 10, 2010
I have 3rd party software that I need to install. It is called VNMRJ. It is packed as one .tar. I extracted the .tar to the desktop (under root) and want to start the installation. However, during the installation process, all .tar files included the the package (sub directories) can't be extracted by the installation routine. For every .tar I get the error
tar: /root/Desktop/vnmrj21b_inova_01106/code/common/com.tar: Cannot open: Permission denied
Installation of VNMR failed
tar: Error is not recoverable: exiting now
DONE: 112 KB
View 5 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
Jan 29, 2010
On my 8.04 server installation, I've been getting this message from apt-get upgrade for a few weeks:
Code:
I thought this would be fixed with the 8.04.4 release yesterday, but alas, it was not so.
It's bugging me a bit that there are packages that need to be upgraded, but it's not doing it.
View 5 Replies
View Related
Jun 3, 2010
I'm not certain that my problem is due to an Ubuntu upgrade, but I'm running out of options.My private Wordpress installation was working fine, including being able to upgrade plugins and WP versions within the application. I've been doing all of the Ubuntu updates as I'm notified. I'm still on 9.10, but was planning to upgrade to 10.04 shortly - as soon as I get the Wordpress installation upgraded in fact.
But the plugin upgrades, and the Wordpress upgrades, are both failing with fopen errors, like so:Download failed. Could not open handle for fopen() to [URL]..After checking everything else I can think of (including temporarily making the wordpress directory hierarchy 777), and looking at the php.ini file, I wonder if some Ubuntu update is messing things up. Or if I've somehow changed something else that is causing the problem.
View 1 Replies
View Related
Aug 20, 2010
I am running Lucid 32-bit server P3 command line server version that began life as a 9.10-server, now upgraded to 10.04. Upgrade has been running since June, 2010. A few weeks ago, I realized that phpldapadmin was not running correctly. In finding the solution for the phpldapadmin issue, now, upgrades are giving me the following:
Code:
admin@myserver:/$ sudo apt-get update[sudo] password for administrator:
Hit [URL]
Get:1 [URL]
Ign [URL]
Ign [URL]
>>>> snip <<<<<
Reading package lists... Done
administrator@wdnserver:/$ sudo apt-get upgrade .....
No apport report written because MaxReports is reached already
Errors were encountered While processing:
grub-pc
samba-common
samba-common-bin
smbclient
smbfs
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have read many posts trying to find a reference to
Code:
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
because this started with grub-pc being the first and only package that refused to install. I have yet to find a direct reference to 'error exit status 10'. I find many other status codes, but few of 'status 10'.
Now, unfortunately, work took me away for a few of weeks and now I am getting errors for:
grub-pc
samba-common
samba-common-bin
smbclient
smbfs
I have tried
Code:
apt-get -f install
and that does work.
I have tried
Code:
apt-get purge grub-pc
and then re-installing grub-pc still gives same error.
And finally there are many other attempts, all with the same result.
View 9 Replies
View Related
Aug 23, 2010
I'm having trouble installing 10.04, from a live dvd. The installation proceeds until 95% complete (running dpkg) then my computer shuts down. I can boot the system, but cannot download upgrades or get cups to work.
View 2 Replies
View Related
Nov 3, 2010
I'm running 9.10 and did not upgrade to 10.4 because I thought I'd just wait tor 10.10. However, if I go to Sys/Admin.>Update Manager>'check'>'install'>'check' I do not get informed of upgrade choices.I am trying not to do an install with this because then I would have to reload and reset everything including 80+ CD's. Please help if you can.I know I have to Ugrade to 10.4 before I can upgrade to 10.10, however my update manger offers neither option after installing updates and rechecking.
View 3 Replies
View Related
Dec 14, 2010
I'm running Ubuntu 10.10 on VirtualBox in Windows. When I try sudo apt-get upgrade I get the following:
WARNING: The following packages cannot be authenticated libc-dev-bin libc6-dev libc-bin libc6 tzdata libcairo2 libgp11-0 libgcr0 gnome-keyring ubuntu-docs ubuntu-sso-client sysvinit-utils sysv-rc initscripts libdrm2 libdrm-intel1 libdrm-nouveau1 libdrm-radeon1 udev plymouth-label plymouth libplymouth2 libudev0 apparmor libapparmor1 libapparmor-perl
[Code]...
View 9 Replies
View Related
Jan 31, 2011
I know it is possible to install a Ubuntu Server Edition and later on 'upgrade' it to a desktop edition by doing
Code: sudo apt-get install ubuntu-desktop But, as I understood it, this installs apps like OpenOffice and such too... Now, is it possible to install the ubuntu-desktop-GUI (so, actually GNOME) without installing all of the unwanted apps Apps I actually need are pulseaudio, transmission and samba, which I prefer to install separately.
View 1 Replies
View Related
Mar 13, 2011
Is there any easy way to do offline package upgrades in Ubuntu? I was using debian's repository for the longest time to get individual packages, then found launchpad. Is there a script or something that will tell you what the dependencies are then let you copy them to a thumbdrive or something?
I know online upgrades are great but there are some cases where online isn't an option. Here's an example. Getting wine. There used to be this repository of .debs from the wine website, but now I can't find it. Launchpad has it, but it's all individual files.
View 1 Replies
View Related