Sponsored Content
Operating Systems Linux Ubuntu [How to?] Offline audio updates ubuntu11 Post 302544203 by animesharma on Wednesday 3rd of August 2011 07:19:37 AM
Old 08-03-2011
[How to?] Offline audio updates ubuntu11

How to install updates/required patch in ubuntu 11 in offline mode.
Since I can't connect internet to my laptop, I can't update it online. Hence I need to learn the alternate method.

I mainly want to be able to run audio and video files.
The available music player on ubuntu11 is banshee

I tried the offline option in synaptic to create a download script, but all i get in the script is
Code:
#! /bin/bash

please help
 

10 More Discussions You Might Find Interesting

1. IP Networking

HELP!! NICs went offline suddenly

I have a new server... We were doing some testing on it over the local ethernet. All was well in the night when we turned off the machine. In the morning we were unable to get the server online. Have changed cables, NICs, looked over network settings... all to no avail. I am running Redhat... (4 Replies)
Discussion started by: skotapal
4 Replies

2. AIX

unix updates- Where can I find unix updates online for IBM servers?

I have a Unix based server running Sagitta and the server is giving me an error of 4b10004 and my research tells me this is an EPROM issue, which means the processor needs to be flashed or repaired. Once up and running where can I go to get updates for Unix? (1 Reply)
Discussion started by: crainer
1 Replies

3. Solaris

How to keep volumes offline after reboot

Hi All, How to keep the volumes offline after reboot also, i make it offline like below # metaoffline d0 d20 after reboot its automatically getting online, however i have to keep it offline and as on required i have to make it online as per business. Thanks in anticipation (9 Replies)
Discussion started by: kumarmani
9 Replies

4. Solaris

Offline HBA.

Hi, I have a HBA that is currently offline for some unknown reason. The device shows up in the prtdiag -v stating it is okay. How can I bring this back online? It was working okay until recently. It is currently connected to the SAN. Details below. # fcinfo hba-port HBA Port WWN:... (7 Replies)
Discussion started by: sparcman
7 Replies

5. UNIX for Dummies Questions & Answers

Offline Agents Inquiry.

Hello, I currently use Solaris, and typically I use the svcs -a | grep PROCESS to see if it's online or Offline. My questions is SVCS is in solaris but if I want to find out if a daemon or process is offline what other methods can I use? ps -ef | grep PROCESS "what do I look for" or... (1 Reply)
Discussion started by: NelsonC
1 Replies

6. Red Hat

USB drive going offline

Hello all, I have a USB drive mounted on a linux RHEL 4 server which goes offline every now n then. Here are some logs : --------------------------------------------- # lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002... (1 Reply)
Discussion started by: sunny_a_j
1 Replies

7. Solaris

offline CPU Solaris 10.

Hi, I need to offline one of the CPUs in my M4000. I'm going to use the psradm command to offline the CPU. Do I need to do anything before offlining the CPU like unbinding processes etc? The servers are running oracle databases which I will shutdown beforehand.:confused: Thanks,... (0 Replies)
Discussion started by: sparcman
0 Replies

8. Ubuntu

How to install Ubuntu11 in external Hard drive

Hi Guys.. I want to install Linux on my portable hard drive. I created a 20GB partition in my hard drive for linux, Now I want to make it bootable mean when I connect it to system n start the system it will start the LINUX and when start without usb-hard drive it should start the windows. ... (3 Replies)
Discussion started by: atul9806
3 Replies

9. Ubuntu

Not able to install mysql in ubuntu11.10

where should i download mysql-server package from? (2 Replies)
Discussion started by: srinathk
2 Replies

10. Slackware

Problems with audio recording in Audacity 2.0.5. Slackware64 14.1; Intel HD Audio.

I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
Discussion started by: qzxcvbnm
2 Replies
SYSTEMD.OFFLINE-UPDATES(7)				      systemd.offline-updates					SYSTEMD.OFFLINE-UPDATES(7)

NAME
systemd.offline-updates - Implementation of offline updates in systemd IMPLEMENTING OFFLINE SYSTEM UPDATES
This man page describes how to implement "offline" system updates with systemd. By "offline" OS updates we mean package installations and updates that are run with the system booted into a special system update mode, in order to avoid problems related to conflicts of libraries and services that are currently running with those on disk. This document is inspired by this GNOME design whiteboard[1]. The logic: 1. The package manager prepares system updates by downloading all (RPM or DEB or whatever) packages to update off-line in a special directory /var/lib/system-update (or another directory of the package/upgrade manager's choice). 2. When the user OK'ed the update, the symlink /system-update is created that points to /var/lib/system-update (or wherever the directory with the upgrade files is located) and the system is rebooted. This symlink is in the root directory, since we need to check for it very early at boot, at a time where /var is not available yet. 3. Very early in the new boot systemd-system-update-generator(8) checks whether /system-update exists. If so, it (temporarily and for this boot only) redirects (i.e. symlinks) default.target to system-update.target, a special target that pulls in the base system (i.e. sysinit.target, so that all file systems are mounted but little else) and the system update units. 4. The system now continues to boot into default.target, and thus into system-update.target. This target pulls in all system update units. Only one service should perform an update (see the next point), and all the other ones should exit cleanly with a "success" return code and without doing anything. Update services should be ordered after sysinit.target so that the update starts after all file systems have been mounted. 5. As the first step, an update service should check if the /system-update symlink points to the location used by that update service. In case it does not exist or points to a different location, the service must exit without error. It is possible for multiple update services to be installed, and for multiple update services to be launched in parallel, and only the one that corresponds to the tool that created the symlink before reboot should perform any actions. It is unsafe to run multiple updates in parallel. 6. The update service should now do its job. If applicable and possible, it should create a file system snapshot, then install all packages. After completion (regardless whether the update succeeded or failed) the machine must be rebooted, for example by calling systemctl reboot. In addition, on failure the script should revert to the old file system snapshot (without the symlink). 7. The upgrade scripts should exit only after the update is finished. It is expected that the service which performs the upgrade will cause the machine to reboot after it is done. If the system-update.target is successfully reached, i.e. all update services have run, and the /system-update symlink still exists, it will be removed and the machine rebooted as a safety measure. 8. After a reboot, now that the /system-update symlink is gone, the generator won't redirect default.target anymore and the system now boots into the default target again. RECOMMENDATIONS
1. To make things a bit more robust we recommend hooking the update script into system-update.target via a .wants/ symlink in the distribution package, rather than depending on systemctl enable in the postinst scriptlets of your package. More specifically, for your update script create a .service file, without [Install] section, and then add a symlink like /lib/systemd/system-update.target.wants/foobar.service -> ../foobar.service to your package. 2. Make sure to remove the /system-update symlink as early as possible in the update script to avoid reboot loops in case the update fails. 3. Use FailureAction=reboot in the service file for your update script to ensure that a reboot is automatically triggered if the update fails. FailureAction= makes sure that the specified unit is activated if your script exits uncleanly (by non-zero error code, or signal/coredump). If your script succeeds you should trigger the reboot in your own code, for example by invoking logind's Reboot() call or calling systemctl reboot. See logind dbus API[2] for details. 4. The update service should declare DefaultDependencies=false, Requires=sysinit.target, After=sysinit.target, and explicitly pull in any other services it requires. SEE ALSO
systemd(1), systemd.generator(7), systemd-system-update-generator(8), dnf.plugin.system-upgrade(8) NOTES
1. GNOME design whiteboard https://wiki.gnome.org/Design/OS/SoftwareUpdates 2. logind dbus API https://www.freedesktop.org/wiki/Software/systemd/logind systemd 237 SYSTEMD.OFFLINE-UPDATES(7)
All times are GMT -4. The time now is 02:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy