How do I make apt-get install less noisy?

1

If I use apt-get install -qq mono-devel, I expect it to be quiet except for errors, according to the help:

-qq No output except for errors

Instead I get:

Extracting templates from packages: 100% Selecting previously unselected package binfmt-support. (Reading database ... 84711 files and directories currently installed.) Unpacking binfmt-support (from .../binfmt-support_2.0.8_i386.deb) ... Selecting previously unselected package cli-common. Unpacking cli-common (from .../cli-common_0.8.2_all.deb) ... Selecting previously unselected package libgdiplus. Unpacking libgdiplus (from .../libgdiplus_2.10-3_i386.deb) ... Selecting previously unselected package libmono-2.0-1. Unpacking libmono-2.0-1 (from .../libmono-2.0-1_2.10.8.1-1ubuntu2.2_i386.deb) ... Selecting previously unselected package libmono-2.0-dev. Unpacking libmono-2.0-dev (from .../libmono-2.0-dev_2.10.8.1-1ubuntu2.2_i386.deb) ... Selecting previously unselected package libmono-corlib4.0-cil. Unpacking...
0 0
2

There is another way to do it, is to use Tasker, a task runner that has cron (a scheduler) support.

Why ? Sometimes to run a cron job, you have to mix, your base image (python, java, nodejs, ruby) with the crond. That means another image to maintain. Tasker avoid that by decoupling the crond and you container. You can just focus on the image that you want to execute your commands, and configure Tasker to use it.

Here an docker-compose.yml file, that will run some tasks for you

version: "2" services: tasker: image: strm/tasker volumes: - "/var/run/docker.sock:/var/run/docker.sock" environment: configuration: | logging: level: ROOT: WARN org.springframework.web: WARN sh.strm: DEBUG schedule: - every: minute task: hello - every: minute task: helloFromPython - every: minute task: helloFromNode tasks: ...
0 0
3

Well it could have been that the mirror had problems, it happens some times like this reddit discussion between users who had buggy mirrors
and you should report when it happens to mirrors@debian.org and they will get to you right away.

You could change the mirrors in your /etc/apt/sources.list to mirrors nearer to where you live from this site https://www.debian.org/mirror/list .

for instance :

deb http://ftp.us.debian.org/debian/ stretch main.

can be changed to

deb ftp.br.debian.org/debian stretch main .

If i live in brazil or maybe brazil is just faster at this moment .

Or you could just change to httpredir mirrors which just chooses for you the best mirror deb http://httpredir.debian.org/debian stretch main .

And you could read here for more examples...

0 0
4

Это ваша лента, где вы будете проводить большую часть времени, получая мгновенные уведомления о том, что интересует именно вас.

Наведите на изображение профиля и нажмите кнопку чтения, чтобы перестать читать любую учетную запись.

Самый быстрый способ поделиться чьим-либо твитом с вашими читателями — ретвитнуть его. Нажмите значок со стрелочками, чтобы мгновенно сделать это.

Поделитесь своими мыслями о любом твите, просто ответив на него. Найдите тему, которая вам интересна, и вступайте в беседу.

Мгновенно узнавайте о том, что обсуждают люди прямо сейчас.

Читайте больше учетных записей, чтобы получать мгновенные обновления о том, что вас больше всего интересует.

Читайте самые последние беседы на любую тему, мгновенно появляющиеся в вашей ленте.

Следите за тем, как разворачиваются лучшие...

0 0
5

Some days ago I’ve been testing twitter bootstrap and I’m very interested on using less on my projects.

Less brings programming into CSS files. Learn more about less in the less website.

To compile the .less files in Ubuntu, first install the requiered packages [please refer to the updated note at the end of the post]:

Now you can create your first less file:

and compile it:

You can redirect the standard otuput to a file to get the css file:

To output the minified CSS, just add the -x option:

You can also use the YUI Compressor with less:

Yep! Something’s wrong… Is there an error with less –yui-compress?

I think there’s a problem with the –yui-compress option.

To workaround this, I’ve installed yui-compressor:

Now, I generate the css with lessc and then compress it with YUI:

I will do further investigation about the less –yui-compress fail.

I’ve installed the incorrect version of less, and...

0 0
6
Apt-get :: Installing MAKE

I need to compile one of my own programs to run on the DSL box (which is the edge router at my business). I had no trouble installing gcc (and its requirements), but when I try to install *make*, it needs *fileutils*, and it fails with the following message:
Unpacking fileutils (from .../fileutils_4.1-10_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/fileutils_4.1-10_i386.deb (--unpack):
trying to overwrite `/bin/chgrp', which is also in package coreutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/fileutils_4.1-10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What is the problem, and how do I get around it?

It looks like part of the problem is that /bin/chgrp is not the real debian chgrp, but the busybox substitute. I had hoped to bypass the problem by makeing it a COPY of busybox instead...

0 0
7

LESS is available on Ubuntu repositories as “node-less” package. However, as of writing this post, it is an old version (1.3.1) which contains lots of bugs, while a newer and more stable one (1.3.3) is available. And you can install latest LESS version with npm:

Because the command name of the node.js is nodejs (instead of node) on Ubuntu, when the installation is complete, you need to change this first line of lessc command. Open /usr/local/bin/lessc with your favorite text editor (with root privileges), and change the end of the first line from node to nodejs.

After saving the file, you can test if lessc command is available, and the correct version is installed.

If you have any trouble, you can ask me on the comment section...

0 0
8

In this case -qq is an option to apt-get and not bash. If you do man apt-get you will get the documentation for apt-get.

It means "really quiet"

-q, --quiet Quiet. Produces output suitable for logging, omitting progress indicators. More q's will produce more quiet up to a maximum of two. You can also use -q=# to set the quiet level, overriding the configuration file. Note that quiet level 2 implies -y, you should never use -qq without a no-action modifier such as -d, --print-uris or -s as APT may decided to do something you did not expect.

So, to summarize a call to apt-get will be more verbose than apt-get -q which is more verbose than apt-get -qq.

Generally the first place to look for any help on a command is that command's "man" page. man is a standard Linux command that will display help for the given command. So in your case, man apt-get would give you help for the apt-get...

0 0
9

Noise is a fast and beautiful GTK3 audio player with a focus on music and libraries. It handles external devices, CDs, and album art. Noise utilizes Granite for a consistent and slick UI. Elementary OS Team has created few PPAs on launchpad.net so that users can easily install and test some elementary applications(Noise Player) on Ubuntu desktop. This article explains you about how to install noise player on Ubuntu.

Features

It supports plugins. Automatic DB upgrading for newer versions. It supports last.fm authentication. It supports smart auto scroll for the current song. It supports horizontally scrolling fixed. It supports gapless playback. Improved start-up speed. Multi-library management. Podcasts now have separate library for each separate folder.

Installing Noise

To install Noise, you should add the BeatBox PPA for Ubuntu –

$ sudo add-apt-repository ppa:elementary-os/daily

The sample output should be like this –

ATTENTION! Do NOT install...
0 0
10

actually some of the online tutorials and that I have read make this bit seem really complicated, there is a way to do this using the sudo (super user do) command, but that is quite complex for first time users also if you follow this method rather than the sudo method (which is harder) you will have to do this for every user on you computer (i think.)

anyway, go to the desktop, you will see a folder called the same thing as the tar.gz file you downloaded (something like install_flash_9_linux)

open that folder, you will see that there are two icons in that, click on the FlashPlayer-Installer Icon

now you should get a message, choose "run in terminal" now here is the first time that you are actually going to have to use a command line, and it is really easy!

make sure you read all the instructions as they come up, make sure you have no browsers running, that means Firefox Sea monkey etc.

when you see the "install action summary" press Y (yes) and...

0 0
11

I'm trying to deploy an app I wrote onto a new virtual machine and ran into some compatability issues after using cpan to install all of the dependencies I listed inside of my Makefile.pl. In addition to that, some of the modules really just are generally better with some ubuntu package intergration(i.e getting Crypt::SSLeay to work, or some xml modules that depend on system libraries).

So my problem is both that CPAN is installing the latest version of modules when my code apparently is only working on old ones, and that it has trouble installing some of the newer ones at all.

My temporary solution is just to come up with a list of ubuntu packages and make a apt-get install line that you have to run before Makefile.PL, but this seems like a hack.

is there a better way to do...

0 0
12

I went the command line way with the test server I set up in vmware workstation 10 on my Windows 7 Pro laptop.

It took somewhere in the neighborhood of 9 hours to find all of the things that I needed to find to get the VM configured correctly with Debian 7.6.0, Nginx, php-FPM, apc, MariaDB , firewall, static IP, openssh server, phpMyAdmin, varnish and WordPress 3.9.1.

When I finished writing up everything that I did, I was exhausted and went to get some sleep.

The plan was, after getting some sleep, to use my directions to install on a stand alone PC ( a Microcenter Powerspec B317) to both test my directions for setting up a server and to establish a small test server for doing some work on client WordPress sites. Well, that little plan was shot in the ass before Debian even got through the install.

I am having issues with the Realtek 8168 NIC on the motherboard. I have outlined the issue in another Spiceworks post here.

The thing that I hate the...

0 0
13

Questions:

I want to make a simple debian package to install a simple tool that depends on Qt4 libs.

In control file I have defined that it depends on Qt4 libs however, by the time I’m testing the package it says that the dependency could not be met.

Question:

How can I make Debian trigger apt to install the dependencies as well?

Can’t find that the documentation however I know that apt-get does that.

Answers:

If you want to avoid creating a local APT repository, you can do:

dpkg -i mypackage.deb apt-get install --fix-missing

If you do want to create a local repository, you can use reprepro for this.

Questions:

Answers:

If you install it via dpkg it won’t work because dkpg doesn’t know where to find additional dependencies. You could do it via apt-get if you build your own repo, but it’s kind of time-consuming the first time (it’s not difficult, just something “new” the first time that needs some time to...

0 0
14

Node.js Evented I/O for V8 javascript

Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Node.js allow basically to run server side JavaScript.

Installation

sudo apt-get update # python-software-properties is needed to use add-apt-repository sudo apt-get install python-software-properties python g++ make sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get install nodejs

Experimenting

Node.js interpreter is available using nodejs -i

nodejs -i > var foo = 'bar' > console.log(foo) bar

For convenience and because dependencies may use node command instead of nodejs, a symbolic link is necessary to avoid having this error:

/usr/bin/env: node: No such file or directory

Add Node symbolic...

0 0
15

If you’ve found yourself wanting to run a Debian stable system but you have a burning need to use a particular testing package, then this is for you. (This might be the case if you want to run PHP5 or PostgreSQL 8.1 on Debian Sarge.)

Some notes:

Don’t try this unless you already understand the differences between the stable, testing, and unstable distributions of Debian — No, seriously! Don’t even think about trying this if you don’t have some clue about what you’re getting yourself into The following works for Debian Sarge You can change the repository servers to your favorite ones… I just picked an arbitrary one as an example

Edit your apt sources list and add sources for testing (and unstable also if you’re feeling adventurous):

Edit this file:
/etc/apt/sources.list:

# these entries were in the file already: deb http://mirrors.kernel.org/debian/ stable main non-free contrib deb-src http://mirrors.kernel.org/debian/ stable main non-free contrib deb...
0 0
16

In this video I show you the steps I take after installing Debian Jessie.
Hope you enjoy!

If I've helped you in any way and you'd like to buy me a coffee, please click this link to do so:
https://www.paypal.me/dontcallmelenny
Many Thanks in advance!

Show Notes:

THINGS TO DO AFTER INSTALLING DEBIAN JESSIE:

1. ADD TO SUDOERS FILE:
open leafpad as root
/etc/sudoers
username ALL=(ALL:ALL) ALL

2. FIREWALL:

sudo apt-get install gufw

3. Enable 32bit Architecture:
sudo dpkg --add-architecture i386

sudo apt-get update
sudo apt-get install netselect-apt

4. sudo netselect-apt

COPY RESULTING SOURCES TO SOURCES.LIST

5. ADD CONTRIB AND NON-FREE TO SOURCES

6. Add deb-multimedia to sources from www.deb-multimedia.org (also install keyring)

RUN : sudo apt-get update

7. sudo apt-get install gdebi gksu firmware-linux firmware-linux-nonfree...

0 0
17

grep-dctrl and its derivatives provide a great way to query the apt cache files. (You can install these tools on ubuntu with sudo apt-get install dctrl-tools )

In the case of available (but not necessarily installed) packages, you can use grep-available. For example, to list all available packages:

grep-available -s Package .

Edit:

aptitude can show you a list of Not Installed Packages by just launching it.

You can also get a list of not installed packages with aptitude by using:

aptitude -F "%p" search "?not(?installed)"

Note that with the new multi-arch packages, you'll get packages for other architectures listed in this result. For example, I get:

aptitude -F "%p" search "?not(?installed)" | grep "^bash:" bash:i386

I have the bash package installed, but it's the amd64 version, since my OS is installed with the amd64 version of Ubuntu Precise. If you don't want to see these packages for other architectures, you can exclude lines...

0 0
18

I've relocated to Sunnyvale California. I would expect in the year 2016, In the technology center of the WORLD, I should be able to get gigabit Internet connection to my over priced apartment. Despite proudly proclaiming to be in the heart of Silicon Valley, This city is no better off with regards to connectivity than any other American metropolitan area.

A tangible out put from that experience was a way to organize a complex idea in to document that explains how to have cost effective communications competition to every home. Because this idea is seemingly too good to be true, There is an equal and opposite opposing force. Cost effective competition means no one company can ever benefit from a monopoly status. The logical follow on, is that no company will ever want to support this plan. In fact, the Incumbent will viciously fight this plan.

The local cable company here in silicon valley has really bad reviews. I signed up anyway. Same story, more bandwidth,...

0 0
19
VLF Receiver Toolkit - Notes

Ubuntu

Installation is very easy on Ubuntu/Debian systems. Just run the following apt-get commands (prefix with sudo if you haven't enabled the root login):

apt-get install libasound2-dev apt-get install libvorbis-dev apt-get install libflac-dev apt-get install libx11-dev apt-get install libpng12-dev apt-get install libxpm-dev apt-get install libncurses5-dev apt-get install libforms2 apt-get install libforms-dev apt-get install libshout3-dev apt-get install libsamplerate0-dev apt-get install libfftw3-dev apt-get install sox apt-get install gnuplot

That takes care of all the packages that the toolkit depends on. Then install the toolkit with the instructions below.

If you're not running Ubuntu or some other flavour of Linux that uses apt-get, then see the section Prerequisite Packages below.


Raspberry Pi

Using Raspberry Pi for audio A/D with a...

0 0
20
RHEL 7/CentOS 7

Install CUDA using the following command:

$ sudo yum install cuda-toolkit-9-1 \ xorg-x11-drv-nvidia-libs nvidia-kmod

If the system is using a non-NVIDIA GPU to render the display, remove the files at /etc/X11/xorg.conf and /usr/lib64/nvidia/xorg/libglx.so, and remove the nomodeset kernel parameter from the boot command-line.

Follow the instructions here to ensure that Nouveau is disabled.

RHEL 6/CentOS 6

Install CUDA using the following command:

$ sudo yum install cuda-toolkit-9-1 \ xorg-x11-drv-nvidia-libs nvidia-kmod

If the system is using a non-NVIDIA GPU to render the display, remove the file at /etc/X11/xorg.conf.

Follow the instructions here to ensure that Nouveau is disabled.

Fedora

Install CUDA using the following command:

$ sudo dnf install cuda-toolkit-9-1 \ ...
0 0
21

In this step we will login to Webmin for the first time. When this is done, we will update Webmin to the latest version using the integrated updater.

First, type in the ip of the server (RPi) followed by ":12321". This is the default port that Webmin is running on.

So for example I would type in "192.168.2.12:12321".

Yours could look like this "192.168.1.2:12321" or "192.168.2.5:12321".

Notice how the port remains the same, despite the ip address changing.

A quick explanation. The ip address is the string of numbers that defines any device connected to the internet. The router in your home has a function called DCHP (Dynamic Host Configuration Protocol). This auto assigns the

devices on the LAN (Local Area Network) an ip following the default format of 192.168.1.*

This means that your Pi could be any ip address through 192.168.1.2 to 192.168.1.255 (It won't be 192.168.1.1 because that's usually the routers ip...

0 0
22
...
0 0
23

As autumn begins, the nights start drawing in and you're no doubt itching for new things to do with your Linux box. Well, we asked our projects expert to rustle up 7 great things you can do on your penguin-powered machine - host a photo album, make sweet music, create stop-frame animations and more. Read on to get cracking!

When you use your Linux machine every day, it's easy to forget that there's a world of experimentation, creativity and fun lurking behind the package manager. In our biased opinion, Linux is the best possible operating system for those who like to play with new software. There's so much variety, and unlike most software on other operating systems, it's all completely free.

The only problem - if you can call it that - is that there's too much choice, and it's often difficult to sort the wheat from the chaff in the bewildering number of applications that are available.

We want to provide a starting point for fun hackery, a distraction and a...

0 0