Re: How do I list installed packages?

2013-04-23 Thread Lars Nooden

On 04/23/2013 09:12 PM, Mark Weyer wrote:


The title is imprecise. Actually, the question is: How do I list installed packages except those 
automatically installed to satisfy dependencies. In aptitude that would be packages marked as 
"i  " but not as "i A". And if there is no command to list this, where in /etc 
(or whereever) is the information hidden?

Please CC me, I am not subscribed.

Thanks in advance,

   Mark Weyer


You could also look at the package deborphan.  I believe it will give 
you the information you are looking for.


deborphan -a

Regards,
/Lars


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51777b49.8020...@gmail.com



Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Ralf Mardorf
On Tue, 2013-04-23 at 21:43 -0700, Patrick Bartek wrote:

> If you have any suggestions, I'll consider them.  I have no dying loyalty to 
> Yahoo.

Stay with Yahoo, but use an MUA.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1366783498.699.67.camel@archlinux



Re: Wheezy Sleezy Gnome

2013-04-23 Thread Ralf Mardorf

On Tue, 2013-04-23 at 19:08 -0700, cletusjenkins wrote:
> xfce looks the best of the bunch to me.

Xfce4 has got to many GNOME dependencies. I'm using it since years, but
I don't like it, I just couldn't find a good DE until now. Things for
Xfce4 are as often broken, as they are for GNOME, assumed you expect a
GNOME2/Xfce4 workflow. What I call broken, others might call features.





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1366782993.699.66.camel@archlinux



Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Ralf Mardorf
On Wed, 2013-04-24 at 10:28 +1200, Chris Bannister wrote:
> Are you *really* forced into using yahoo, it really is horrible (not
> sure which is worse hotmail or yahoo.) for communicating on mailing
> lists.

Info:

You're free to use Yahoo with a MUA. Take a look at the email address
I'm using right now, it's Rocketmail, aka Yahoo, I'm only limited by the
pain Evolution and Xfce4, IOW the GNOME crap does cause.

I hope I find replacements for Evolution and Xfce4 ASAP, however, Yahoo
doesn't cause issues.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1366782098.699.60.camel@archlinux



Indonesia Company Audit Report

2013-04-23 Thread Hadijah Sahid
* A must-attend programme for companies with operations in Indonesia *
** We are HRDF-approved training provider **

An Overview of the Indonesian Financial Accounting Standards (IFAS) Framework
Tuesday, 14th May 2013, 9am – 5pm, Kuala Lumpur

Since the issuance of the Accounting and Auditing Report on the Observance of 
Standards and Codes in 2005, Indonesia has made significant efforts to improve 
the quality of corporate financial reporting. Considerable progress has been 
made to strengthen the institutional framework of accounting and auditing and 
to move toward convergence with International Financial Reporting Standards 
(IFRS) and adoption of International Standards of Auditing (ISA). Investors and 
companies with operations in Indonesia need to be aware of these standards as 
they may have major effects on their financial statements and structures.

This one-day seminar led by Saptoto Agustomo, Partner from RSM AAJ Associates 
Indonesia will provide participants with essential knowledge about the 
IFRS-based Indonesian Financial Reporting Standards and its implications on 
their businesses.
 
Highlights:
- Learn about the recent developments in the Indonesian Financial Accounting 
Standards framework
- Understand the key differences between IFAS and IFRS
- Discover the tax implications and other issues that may arise from the IFAS
- Pose questions to the expert from Indonesia and network with other 
professionals

Registration Fees: RM1,200.00 
Fees include lunch, documentation and refreshments

For more information or to receive a brochure, please contact Ms Kuan at (603) 
7803 2514 or kuanyee...@fortressintelligence.com.sg

We look forward to your participation at this seminar.

* To unsubscribe from our mailing list, please reply to this email with the 
subject "Unsubscribe" *


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130424052904464.3D1177C806E132C6@CONF1-HP



Re: Wheezy Sleezy Gnome

2013-04-23 Thread Jeffrey Anthony Serio
Why don't you try installing MATE?  There is a MATE repo available for
Wheezy:  'deb http://packages.mate-desktop.org/repo/debian wheezy main'

Just be sure to apt-get install the mate-archive-keyring package.  I'm
not sure if you've heard of MATE or not, but basically it's a fork of
Gnome 2 developed by Linux Mint.  It resembles Gnome 2 in almost all
respects, except it uses GTK3 instead of GTK2.


On Tue, Apr 23, 2013 at 11:21 PM, Patrick Bartek wrote:

>
>
>
>
> > From: cletusjenkins 
> >
> > I recently bought a laptop, it came pre-installed with wheezy (because
> the
> > nvidia driver needed a newer kernel). I really dislike the new version
> of gnome.
> > I feel like my expensive laptop is hobbled. It feels like a slow $100
> android
> > tablet instead of a powerful computer.
> >
> > I can't customize anything about the desktop.
> >
> > Everything is buried under layers and layers of menus and all the apps
> are in
> > jumbled lists.
> >
> > I installed several other desktops, icewm, lxde, kde, etc. I've never
> really
> > liked KDE, but it seems to have decided to go in much of the same
> direction
> > gnome has (and windows 8, so maybe just maybe someone at gnome should do
> some
> > serious thinking about that, if you find you are doing the same thing
> microsoft
> > is doing that should be a ). I like using LXDE and some of the other
> alternative
> > on older, low-power machines, but most still have a hodge-podge look that
> > screams windows 95. Icewm was my favorite in the early 0x, but they lost
> me when
> > icepref disappeared. Anywhoo.
> >
> > xfce looks the best of the bunch to me.
>
> Do what I did.  I don't like GNOME 3 (or desktops "environments", in
> general) either, but I do want a GUI.  So, along with Wheezy, I just
> installed a window manager, Openbox, and LXPanel, and I've got a lean, fast
> GUI that breathes life into this aging machine of mine.
>
> > My old laptop (the one I'm writing this on) has squeeze with gnome
> 2.30.2.
> > Is there anyway to get an actual gnome *desktop* on wheezy sans all this
> > metro-esque crap?
>
>
> Maybe, when Wheezy goes stable, there'll be a backport of GNOME 2.  Just a
> thought since so many users hate 3.
>
> B
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/1366777261.12525.yahoomail...@web142304.mail.bf1.yahoo.com
>
>


Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Patrick Bartek




> From: Chris Bannister 
> 
> 
> On Tue, Apr 23, 2013 at 11:37:13AM -0700, Patrick Bartek wrote:
>> 
>> 
>>  > From: Anthony Campbell 
>>  > 
>>  > [snip]
>>  >> 
>>  > 
>>  > Another problem is that your posts are peppered with lots of codes 
> which
>>  > make them annoying to read on a text-based email reader like mutt.
>> 
>> 
>>  Sorry 'bout that, but there's nothing much I can do about it from 
> my end:  It's Yahoo Mail that's the problem.
> 
> If it hurts then stop doing it! :-) 
> 
> Are you *really* forced into using yahoo, it really is horrible (not
> sure which is worse hotmail or yahoo.) for communicating on mailing
> lists.


Forced?  No.  But circumstances do limit my choices of an e-mail provider to 
post to public forums.  And Yahoo Mail is no worse than the others.

If you have any suggestions, I'll consider them.  I have no dying loyalty to 
Yahoo.

B


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1366778583.84859.yahoomail...@web142302.mail.bf1.yahoo.com



Re: Wheezy Sleezy Gnome

2013-04-23 Thread Patrick Bartek




> From: cletusjenkins 
> 
> I recently bought a laptop, it came pre-installed with wheezy (because the 
> nvidia driver needed a newer kernel). I really dislike the new version of 
> gnome. 
> I feel like my expensive laptop is hobbled. It feels like a slow $100 android 
> tablet instead of a powerful computer.
> 
> I can't customize anything about the desktop.
> 
> Everything is buried under layers and layers of menus and all the apps are in 
> jumbled lists.
> 
> I installed several other desktops, icewm, lxde, kde, etc. I've never really 
> liked KDE, but it seems to have decided to go in much of the same direction 
> gnome has (and windows 8, so maybe just maybe someone at gnome should do some 
> serious thinking about that, if you find you are doing the same thing 
> microsoft 
> is doing that should be a ). I like using LXDE and some of the other 
> alternative 
> on older, low-power machines, but most still have a hodge-podge look that 
> screams windows 95. Icewm was my favorite in the early 0x, but they lost me 
> when 
> icepref disappeared. Anywhoo.
> 
> xfce looks the best of the bunch to me.

Do what I did.  I don't like GNOME 3 (or desktops "environments", in general) 
either, but I do want a GUI.  So, along with Wheezy, I just installed a window 
manager, Openbox, and LXPanel, and I've got a lean, fast GUI that breathes life 
into this aging machine of mine.

> My old laptop (the one I'm writing this on) has squeeze with gnome 2.30.2. 
> Is there anyway to get an actual gnome *desktop* on wheezy sans all this 
> metro-esque crap?


Maybe, when Wheezy goes stable, there'll be a backport of GNOME 2.  Just a 
thought since so many users hate 3.

B


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1366777261.12525.yahoomail...@web142304.mail.bf1.yahoo.com



Re: Why does my ssh session terminate immediately?

2013-04-23 Thread Andreas Leha
Hi Vincent,


Vincent Lefevre  writes:

> On 2013-04-24 00:24:16 +0200, Vincent Lefevre wrote:
>> On 2013-04-23 23:05:27 +0200, Andreas Leha wrote:
>> > Here is what I get:
>> > ,
>> > | > ssh -t root@192.168.2.109 bash
>> > | Connection to 192.168.2.109 closed.
>> > `
>> 
>> So, it seems that the problem comes from the "-t". Perhaps it can't
>> allocate a pseudo-tty?

Looks like, I agree.  How can I tackle this?

>> 
>> BTW, does "ssh -t localhost" work on both machines?

I am not sure.  On the 'client' it does.  On the 'server' I get this:
,
| > ssh root@192.168.2.109 bash
| ssh -t localhost
| Pseudo-terminal will not be allocated because stdin is not a terminal.
| Host key verification failed.
`

>
> Things you can also try:
>
>   ssh -t root@192.168.2.109 echo 'TERM: $TERM'
>
> and try from another terminal.

Depending on the terminal I get:
,
| > ssh -t root@192.168.2.109 echo 'TERM: $TERM'
| TERM: screen
| Connection to 192.168.2.109 closed.
`
,
| > ssh -t root@192.168.2.109 echo 'TERM: $TERM'
| TERM: rxvt-unicode
| Connection to 192.168.2.109 closed.
`
,
| > ssh -t root@192.168.2.109 echo 'TERM: $TERM'
| TERM: linux
| Connection to 192.168.2.109 closed.
`

>
> Do you have anything special in your ".ssh/config"?

I do have many entries for different machines in my .ssh/config.  The
one for this is:
,
| Host pogo
|  HostName 192.168.2.109
|  User root
|  IdentityFile /home/andreas/.ssh/id_rsa
`
The other entries look similar, thus, should not interfere, I think.


Thanks for all your effort!

Regards,
Andreas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ip3cy6hy@med.uni-goettingen.de



Re: Wheezy Sleezy Gnome

2013-04-23 Thread David Christensen

On 04/23/13 19:08, cletusjenkins wrote:
> I recently bought a laptop, it came pre-installed with wheezy 
(because the nvidia driver needed a newer kernel). I really dislike the 
new version of gnome. ...

> I installed several other desktops...
> xfce looks the best of the bunch to me.

My newest mid-tower also needs to run Wheezy for the video chip (Intel 
Core i7 2600S).  I also disliked Gnome 3, went through the same desktop 
evaluation process, and ended up at XFCE.


I then installed VirtualBox, set up a VM with debian-6.0.7-i386 with the 
default graphical user interface (Gnome 2), and moved my desktop apps 
and data there.  Now I can easily export/import my desktop VM to any 
hardware that supports VirtualBox.  :-)


HTH,

David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5177486e.4070...@holgerdanske.com



Wheezy Sleezy Gnome

2013-04-23 Thread cletusjenkins
I recently bought a laptop, it came pre-installed with wheezy (because the 
nvidia driver needed a newer kernel). I really dislike the new version of 
gnome. I feel like my expensive laptop is hobbled. It feels like a slow $100 
android tablet instead of a powerful computer.

I can't customize anything about the desktop.

Everything is buried under layers and layers of menus and all the apps are in 
jumbled lists.

I installed several other desktops, icewm, lxde, kde, etc. I've never really 
liked KDE, but it seems to have decided to go in much of the same direction 
gnome has (and windows 8, so maybe just maybe someone at gnome should do some 
serious thinking about that, if you find you are doing the same thing microsoft 
is doing that should be a ). I like using LXDE and some of the other 
alternative on older, low-power machines, but most still have a hodge-podge 
look that screams windows 95. Icewm was my favorite in the early 0x, but they 
lost me when icepref disappeared. Anywhoo.

xfce looks the best of the bunch to me.

My old laptop (the one I'm writing this on) has squeeze with gnome 2.30.2. Is 
there anyway to get an actual gnome *desktop* on wheezy sans all this 
metro-esque crap?

-- clet
debian is my main squeeze



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/930399101.1490.1366769599964.JavaMail.sas@[172.29.252.227]



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Charles Kroeger
On Wed, 24 Apr 2013 00:20:02 +0200
Chris Bannister  wrote:

> When I had shorewall running the console was flooded with messages about
> access attempts.

I like shorewall, lots of separate configurable files, or if you're lazy just 
run
it configured by way of example files that come with it.  Shorewall won't 
stealth
your machine but announces that port 0 and 1 are closed..I think that's rather
stylish. Your machine is telling the Internet it's there, but you're not 
getting in.

-- 
CK


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/atojlrfocg...@mid.individual.net



Re: Why does my ssh session terminate immediately?

2013-04-23 Thread Vincent Lefevre
On 2013-04-24 00:24:16 +0200, Vincent Lefevre wrote:
> On 2013-04-23 23:05:27 +0200, Andreas Leha wrote:
> > Here is what I get:
> > ,
> > | > ssh -t root@192.168.2.109 bash
> > | Connection to 192.168.2.109 closed.
> > `
> 
> So, it seems that the problem comes from the "-t". Perhaps it can't
> allocate a pseudo-tty?
> 
> BTW, does "ssh -t localhost" work on both machines?

Things you can also try:

  ssh -t root@192.168.2.109 echo 'TERM: $TERM'

and try from another terminal.

Do you have anything special in your ".ssh/config"?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423225252.gc26...@xvii.vinc17.org



Re: How do I list installed packages?

2013-04-23 Thread Chris Bannister
On Tue, Apr 23, 2013 at 11:12:44PM +0200, Mark Weyer wrote:
> 
> The title is imprecise. Actually, the question is: How do I list
> installed packages except those automatically installed to satisfy
> dependencies. In aptitude that would be packages marked as "i  " but
> not as "i A". And if there is no command to list this, where in /etc
> (or whereever) is the information hidden?
> 
> Please CC me, I am not subscribed.
> 
> Thanks in advance,

Not sure, but one way would be looking under
/var/lib/dpkg/info

e.g.

1. cd /var/lib/dpkg/info
2. ls -l a*
3. check the listing, if there are packages you don't think you need
then try "dpkg --purge packagename" if it purges, then no other package
depends on it. Otherwise you'll get a message saying something along the
lines of "package xyz depends on package abc -- not purging"

4. You may want to do "apt-cache show packagename" first, just to make
sure you are not going to purge a package you think you may need.

5. carry on, e.g. ls -l b* 
etc,

6. Don't bother with ls -l l* (there are heaps of library packages.)
which most certainly are depended on by other packages.
ls -l la* etc ls -le* etc is one way around this.

7. There is sure to be a better way, but ...

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423224539.GF28529@tal



Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Chris Bannister
On Tue, Apr 23, 2013 at 11:37:13AM -0700, Patrick Bartek wrote:
> 
> 
> 
> 
> > From: Anthony Campbell 
> > 
> > On 22 Apr 2013, Patrick Bartek wrote:
> >>  > 
> >>  > It would be nice if you could trim that to one line.
> >>  > 
> >>  >>> [snip]
> >> 
> >>  Yes, it would, but I use Yahoo mail for this list, and that is Yahoo's 
> > reply header.  I cannot have my own custom reply header, nor can I opt not 
> > to 
> > have one at all.  At least, not that I've been able to find in the Mail 
> > Settings.  I can, however, edit or erase it from any reply as I did above, 
> > but 
> > sometimes I forget.
> >> 
> > 
> > Another problem is that your posts are peppered with lots of codes which
> > make them annoying to read on a text-based email reader like mutt.
> 
> 
> Sorry 'bout that, but there's nothing much I can do about it from my end:  
> It's Yahoo Mail that's the problem.

If it hurts then stop doing it! :-) 

Are you *really* forced into using yahoo, it really is horrible (not
sure which is worse hotmail or yahoo.) for communicating on mailing
lists.


-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423222821.GE28529@tal



Re: Why does my ssh session terminate immediately?

2013-04-23 Thread Vincent Lefevre
On 2013-04-23 23:05:27 +0200, Andreas Leha wrote:
> Vincent Lefevre  writes:
> 
> > On 2013-04-22 22:49:23 +0200, Andreas Leha wrote:
> >> thanks for that.  Here is what I get:
> >> ,
> >> | + '[' -z '' ']'
> >> | + return
> >> | Connection to 192.168.2.109 closed.
> >> `
> >
> > You said earlier:
> >
> >> (I can, for instance, run a crippled bash with 'ssh root@192.168.2.109 
> >> bash')
> >
> > So, perhaps that's the "-t" which is a problem.
> >
> > What if you run 'ssh -t root@192.168.2.109 bash'?
> 
> Here is what I get:
> ,
> | > ssh -t root@192.168.2.109 bash
> | Connection to 192.168.2.109 closed.
> `

So, it seems that the problem comes from the "-t". Perhaps it can't
allocate a pseudo-tty?

BTW, does "ssh -t localhost" work on both machines?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423222416.gb26...@xvii.vinc17.org



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Chris Bannister
On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:
> I will be using email, Usenet, browser and occasionally file
> downloading.
> Nothing on my system should look/act like a server.
> I want all programs to access the internet after explicitly asking
> for permission.
> The response to the request may be:
>No
>Always YES
>Ask each occurrence

Are you sure you are "looking" at this in the right way? e.g. :
http://www.perlmonks.org/?node_id=542341

http://unix.stackexchange.com/questions/30583/why-do-we-need-a-firewall-if-no-programs-are-running-on-your-ports
http://wiki.debian.org/Firewalls
http://www.techsupportforum.com/forums/f139/is-a-firewall-necessary-408049.html
http://www.firewallinformation.com/
http://www.ask.com/question/why-is-a-firewall-necessary
http://wiki.answers.com/Q/What_is_a_firewall_and_why_is_it_necessary
http://computertutorflorida.com/2011/09/is-a-firewall-necessary/
http://www.techsupportalert.com/freeware-forum/security/9806-firewall-not-needed.html
http://askubuntu.com/questions/26736/is-a-firewall-really-necessary-these-days

You may want to look at shorewall, if you decide you need one.
http://en.wikipedia.org/wiki/Shorewall
http://www.shorewall.net/shorewall_features.htm
http://www.shorewall.net/GettingStarted.html
http://wiki.debian.org/HowTo/shorewall
http://www.linux.org/article/view/shorewall-your-friendly-firewall-part-1-installation-and-basic-configuration-



When I had shorewall running the console was flooded with messages about
access attempts.

root@tal:~# less /etc/sysctl.conf
...
# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3
...

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423221139.GD28529@tal



Re: Don't do that!

2013-04-23 Thread Brad Alexander
That's really odd. I know that there used to be warnings about ext4 years
ago, but I don't recall seeing them as far back as the squeeze release.




On Tue, Apr 23, 2013 at 2:38 PM, Hans-J. Ullrich wrote:

> Am Dienstag, 23. April 2013 schrieb Brad Alexander:
> > That is interesting. I have a similar setup on my workstation:
> >
> > /dev/sda2 ext4964532 59380856156   7%
> /boot
> >
> > With the rest of the filesystems in an encrypted LVM container. I built
> > (rebuilt) this machine a couple of years ago, and have never had an
> > issue...To include power failures where the machine did not power down
> > gracefully.
> >
> > Could it have been a problem with your SSD, e.g. a bad spot, or could the
> > initramfs have been corrupted on write?
> >
>
> initramfs was corrupted because of the filesystem.
> > Do you have other kernels installed? (I usually keep, at a minimum, the
> > current one and the last one.)
> >
>
> Yeah, my fault. I had had two kernels, but some weeks ago I deleted one.
> However with ext4 everything went fine - until today
>
> Happy hacking
>
> Hans
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/201304232038.55747.hans.ullr...@loop.de
>
>


Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread staticsafe
On 4/23/2013 15:19, Carroll Grigsby wrote:
> On Tue, 23 Apr 2013 11:37:13 -0700 (PDT)
> Patrick Bartek  wrote:
>>
 Snip
>>
>> Hope the problem is solvable from your end.
>>
>>
> 
> Easy solution: Kill file. Bye.
> 
> -- cmg
> 
> 

Seems like overkill.

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51770233.50...@staticsafe.ca



Re: How do I list installed packages?

2013-04-23 Thread Cláudio E. Elicker
On Tue, 23 Apr 2013 23:12:44 +0200
Mark Weyer  wrote:

> 
> The title is imprecise. Actually, the question is: How do I list
> installed packages except those automatically installed to satisfy
> dependencies.

> 


aptitude search '~i!~M'


-- 
EMACS is my operating system; Linux is my device driver.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423183024.6dba9fb3@yeh1.parsec



Re: How do I list installed packages?

2013-04-23 Thread staticsafe
On 4/23/2013 17:11, staticsafe wrote:
> On 4/23/2013 17:12, Mark Weyer wrote:
>>
>> The title is imprecise. Actually, the question is: How do I list installed 
>> packages except those automatically installed to satisfy dependencies. In 
>> aptitude that would be packages marked as "i  " but not as "i A". And if 
>> there is no command to list this, where in /etc (or whereever) is the 
>> information hidden?
>>
>> Please CC me, I am not subscribed.
>>
>> Thanks in advance,
>>
>>   Mark Weyer
>>
>>
> 
> aptitude search '~i' | grep -v 'i A'
> 
> That should do the trick.
> 

For further reference:
http://www.algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s02.html

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5176fd57.3050...@staticsafe.ca



Re: How do I list installed packages?

2013-04-23 Thread Rui Miguel P. Bernardo
Hi Mark,

the following should work, listing only the manually installed packages.

aptitude search '?installed?not(?automatic)' -F %p | sed 's/ //g'


On Tue, Apr 23, 2013 at 10:12 PM, Mark Weyer  wrote:
>
> The title is imprecise. Actually, the question is: How do I list installed 
> packages except those automatically installed to satisfy dependencies. In 
> aptitude that would be packages marked as "i  " but not as "i A". And if 
> there is no command to list this, where in /etc (or whereever) is the 
> information hidden?
>
> Please CC me, I am not subscribed.
>
> Thanks in advance,
>
>   Mark Weyer
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20130423211244.GA1911@debian
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAP1Yx5x6Dz0f5tNZQtbvYVs2A{NzHKwdyD0skTAyJx=xo...@mail.gmail.com



Re: How do I list installed packages?

2013-04-23 Thread staticsafe
On 4/23/2013 17:12, Mark Weyer wrote:
> 
> The title is imprecise. Actually, the question is: How do I list installed 
> packages except those automatically installed to satisfy dependencies. In 
> aptitude that would be packages marked as "i  " but not as "i A". And if 
> there is no command to list this, where in /etc (or whereever) is the 
> information hidden?
> 
> Please CC me, I am not subscribed.
> 
> Thanks in advance,
> 
>   Mark Weyer
> 
> 

aptitude search '~i' | grep -v 'i A'

That should do the trick.
-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5176f8f5.60...@staticsafe.ca



Re: Why does my ssh session terminate immediately?

2013-04-23 Thread Andreas Leha
Vincent Lefevre  writes:

> On 2013-04-22 22:49:23 +0200, Andreas Leha wrote:
>> thanks for that.  Here is what I get:
>> ,
>> | + '[' -z '' ']'
>> | + return
>> | Connection to 192.168.2.109 closed.
>> `
>
> You said earlier:
>
>> (I can, for instance, run a crippled bash with 'ssh root@192.168.2.109 bash')
>
> So, perhaps that's the "-t" which is a problem.
>
> What if you run 'ssh -t root@192.168.2.109 bash'?

Here is what I get:
,
| > ssh -t root@192.168.2.109 bash
| Connection to 192.168.2.109 closed.
`

Regards,
Andreas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ppxlx8iw@med.uni-goettingen.de



Re: Why does my ssh session terminate immediately?

2013-04-23 Thread Andreas Leha
Guido Martínez  writes:

> Hi,
>
> On Mon, Apr 22, 2013 at 5:49 PM, Andreas Leha
>  wrote:
>> thanks for that.  Here is what I get:
>> ,
>> | + '[' -z '' ']'
>> | + return
>> | Connection to 192.168.2.109 closed.
>> `
>> I guess that means, that "PS1" is unset in this case?
>
> Looks like it, but I think that it shouldn't terminate bash anyway.
> The 'return' you see is local to .bashrc or whatever file was being
> loaded.
>
> Try running 'ssh root@192.168.2.109 bash --norc --noprofile -i' and
> see if you get a shell. If you do, it would suggest some
> misconfiguration of bash but from what I can see your configs are OK..

Here is what I get:
,
| > ssh root@192.168.2.109 bash --norc --noprofile -i
| bash: cannot set terminal process group (-1): Invalid argument
| bash: no job control in this shell
`
or:
,
| > ssh -t root@192.168.2.109 bash --norc --noprofile -i
| Connection to 192.168.2.109 closed.
`


Regards,
Andreas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87txmxx8mj@med.uni-goettingen.de



How do I list installed packages?

2013-04-23 Thread Mark Weyer

The title is imprecise. Actually, the question is: How do I list installed 
packages except those automatically installed to satisfy dependencies. In 
aptitude that would be packages marked as "i  " but not as "i A". And if there 
is no command to list this, where in /etc (or whereever) is the information 
hidden?

Please CC me, I am not subscribed.

Thanks in advance,

  Mark Weyer


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423211244.GA1911@debian



Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Carroll Grigsby
On Tue, 23 Apr 2013 11:37:13 -0700 (PDT)
Patrick Bartek  wrote:
> 
>>> Snip
>
> Hope the problem is solvable from your end.
> 
> 

Easy solution: Kill file. Bye.

-- cmg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423151912.174735d6.cgrigs...@att.net



Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Robert Holtzman
On Tue, Apr 23, 2013 at 07:57:11AM +0100, Anthony Campbell wrote:
> On 22 Apr 2013, Patrick Bartek wrote:
> > > 
> > > It would be nice if you could trim that to one line.
> > > 
> > >>> [snip]
> > 
> > Yes, it would, but I use Yahoo mail for this list, and that is Yahoo's 
> > reply header.  I cannot have my own custom reply header, nor can I opt not 
> > to have one at all.  At least, not that I've been able to find in the Mail 
> > Settings.  I can, however, edit or erase it from any reply as I did above, 
> > but sometimes I forget.
> > 
> 
> Another problem is that your posts are peppered with lots of codes which
> make them annoying to read on a text-based email reader like mutt.

I'm using mutt also but I see no codes.

-- 
Bob Holtzman
If you think you're getting free lunch, 
check the price of the beer.
Key ID: 8D549279


signature.asc
Description: Digital signature


Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Ralf Mardorf
On Tue, 2013-04-23 at 11:37 -0700, Patrick Bartek wrote:
> With almost everything these days graphic and web-based, smartphone
> and tablet, the days of pure ASCII e-mail are gone for the most part.

No, the experiment "HTML email" miserably failed, that's why more and
more people switch to plain text nowadays.

Smileys from Windows users easily become cryptic text on other OS, since
not everybody wishes to install Windows fonts. However, there are more
serious issues with HTML emails.

-- 
ASCII Ribbon Campaign http://www.asciiribbon.org/index.php


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1366743024.699.8.camel@archlinux



Re: Don't do that!

2013-04-23 Thread Hans-J. Ullrich
Am Dienstag, 23. April 2013 schrieb Brad Alexander:
> That is interesting. I have a similar setup on my workstation:
> 
> /dev/sda2 ext4964532 59380856156   7% /boot
> 
> With the rest of the filesystems in an encrypted LVM container. I built
> (rebuilt) this machine a couple of years ago, and have never had an
> issue...To include power failures where the machine did not power down
> gracefully.
> 
> Could it have been a problem with your SSD, e.g. a bad spot, or could the
> initramfs have been corrupted on write?
> 

initramfs was corrupted because of the filesystem.
> Do you have other kernels installed? (I usually keep, at a minimum, the
> current one and the last one.)
> 

Yeah, my fault. I had had two kernels, but some weeks ago I deleted one. 
However with ext4 everything went fine - until today

Happy hacking

Hans


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304232038.55747.hans.ullr...@loop.de



Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Patrick Bartek




> From: Anthony Campbell 
> 
> On 22 Apr 2013, Patrick Bartek wrote:
>>  > 
>>  > It would be nice if you could trim that to one line.
>>  > 
>>  >>> [snip]
>> 
>>  Yes, it would, but I use Yahoo mail for this list, and that is Yahoo's 
> reply header.  I cannot have my own custom reply header, nor can I opt not to 
> have one at all.  At least, not that I've been able to find in the Mail 
> Settings.  I can, however, edit or erase it from any reply as I did above, 
> but 
> sometimes I forget.
>> 
> 
> Another problem is that your posts are peppered with lots of codes which
> make them annoying to read on a text-based email reader like mutt.


Sorry 'bout that, but there's nothing much I can do about it from my end:  It's 
Yahoo Mail that's the problem.

I have my mail set to "Plain Text" but since this is Web browser-based e-mail 
I'm sure it's not 100% pure ASCII.  I don't even think switching to a "real" 
e-mail account would solve the problem.  With almost everything these days 
graphic and web-based, smartphone and tablet, the days of pure ASCII e-mail are 
gone for the most part.

Also, if I reply to a message that is other than plain text, my reply 
"inherits" their formatting code.  I can switch the reply to plain text, that 
is, Yahoo's version of plain text, but doing so screws up the formatting and 
quoting of the original message, and I'm left with the daunting task of 
manually reformatting it.  With short messages, this is inconvenient, but not 
too much of a problem.  However, with a long thread with multiple nested layers 
of quoting, it is almost impossible to manually correct the formatting.  So, I 
just don't switch to plain text in those cases.  Sorry.


Hope the problem is solvable from your end.


B


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1366742233.70023.yahoomail...@web142306.mail.bf1.yahoo.com



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Jochen Spieker
Richard Owlett:
> Lisi Reisz wrote:
>> 
>> Also, I had to do a double take to work out which bit was a question, rather
>> than a statement.  I think that he is asking us to recommend some reading
>> matter.
>> 
> 
> I intended the subject line to convey request for reading material.

Hrmmh, it appears I didn't pay much attention to the subject.

> The body of the message was to attempt to indicate areas I knew
> would be important to me.
> I couldn't ask a specific question as I don't know anything about it
> in the Linux world.

It really depends on how deep you want to dig into the topic. For
security purposes, you should definitely learn basics of networking
(ports, IP addresses, routing etc). This knowledge is generally
indepentend of the operating system. You can then go ahead and learn
about iptables which is used in the Linux kernel for packet filtering
and manipulation

For the purpose yo described you don't need to know anything about that.
Only that apparently nobody on this list knows a program that can do
what you know from Windows.

> And yes I have found certain features useful the Windows firewalls
> I've used and liked.

If you don't rely on them as security tools, they may help, yes.

But I still don't completely understand your situation. You said you are
on dialup and want to prevent unnecessary traffic. Can't you just
disable auto-dialling? Which specific programs use the network without
your consent?

J.
-- 
I have been manipulated and permanently distorted.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Don't do that!

2013-04-23 Thread Brad Alexander
That is interesting. I have a similar setup on my workstation:

/dev/sda2 ext4964532 59380856156   7% /boot

With the rest of the filesystems in an encrypted LVM container. I built
(rebuilt) this machine a couple of years ago, and have never had an
issue...To include power failures where the machine did not power down
gracefully.

Could it have been a problem with your SSD, e.g. a bad spot, or could the
initramfs have been corrupted on write?

Do you have other kernels installed? (I usually keep, at a minimum, the
current one and the last one.)

--b


On Tue, Apr 23, 2013 at 11:52 AM, Hans-J. Ullrich wrote:

> Today I learnt this: Do NOT use ext4 for the /boot partition, where your
> kernel resides.
>
> I did this on my EEEPC to speed up boot, and today I got at boot the error
> message: initrd.img corrupt. My EEEPC has got an ssd inside and /usr, /home
> and /var are encrypted partitions.
>
> It took me hours and hours to fix this. First I tried ext2fs, with no
> success.
> I could run Trinity Rescue Kit from a sd card, and I created a chroot, but
> not
> all was possible to do in the chroot.
>
> After lots of tries I got the solution:
>
> 1. I backuped all the content of /boot to another drive.
> 2. Booted with a livefile and formatted /boot to ext2.
> 3. Restored /boot
> 4. Edited /etc/fstab, removed the UUID of /boot and removed
> disacard,noatime
> 5. Now I could boot again.
> 6. From the running system started "update-initramfs -u"
> 7. Did "dpkg-reconfigure linux-base", so I got the UUID in all necessary
> config
> files again.
> 8. For making all sure. did "update-grub"
> 9. Finally test, rebooted again, everything was ok.
>
> So NEVER, NEVER, NEVER use ext4 for /boot! Don't do it!
> (If I would have read the manual, I should have known, ext4 and grub is
> still
> in experimental state)
>
>
> Best regards
>
> Hans
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/201304231752.54550.hans.ullr...@loop.de
>
>


Re: Don't do that!

2013-04-23 Thread Kelly Clowers
On Tue, Apr 23, 2013 at 8:52 AM, Hans-J. Ullrich  wrote:
> Today I learnt this: Do NOT use ext4 for the /boot partition, where your
> kernel resides.
>
> I did this on my EEEPC to speed up boot, and today I got at boot the error
> message: initrd.img corrupt. My EEEPC has got an ssd inside and /usr, /home
> and /var are encrypted partitions.
>
> It took me hours and hours to fix this. First I tried ext2fs, with no success.
> I could run Trinity Rescue Kit from a sd card, and I created a chroot, but not
> all was possible to do in the chroot.
>
> After lots of tries I got the solution:
>
> 1. I backuped all the content of /boot to another drive.
> 2. Booted with a livefile and formatted /boot to ext2.
> 3. Restored /boot
> 4. Edited /etc/fstab, removed the UUID of /boot and removed disacard,noatime
> 5. Now I could boot again.
> 6. From the running system started "update-initramfs -u"
> 7. Did "dpkg-reconfigure linux-base", so I got the UUID in all necessary 
> config
> files again.
> 8. For making all sure. did "update-grub"
> 9. Finally test, rebooted again, everything was ok.
>
> So NEVER, NEVER, NEVER use ext4 for /boot! Don't do it!
> (If I would have read the manual, I should have known, ext4 and grub is still
> in experimental state)
>

My /boot is just part of root, and it is ext4. Never had any issue.
If I did have a separate /boot partition, I would use ext2 or 3 or 4
with out the journal, since it would eat up a bit of space on a small
partition. But that is it.

Cheers,
Kelly Clowers


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAFoWM=_jTMpU1Xi=b2iV=QLX3AoyTC-fGoVPSZUh=gogyq4...@mail.gmail.com



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Lisi Reisz
On Tuesday 23 April 2013 17:32:34 Richard Owlett wrote:
> I couldn't ask a specific question as I don't know anything
> about it in the Linux world.

The problem is, if you don't ask a specific question, we cannot give a 
specific answer.  The result of what you did "ask" is that you have had quite 
a bit of advice on which firewall to use, and none whatsoever on which books 
to read.

Have you got access to a library?  Or a bookshop?  Why not browse a bit and 
see what you want.  You can then ask more meaningful questions.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304231755.11891.lisi.re...@gmail.com



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Richard Owlett

Lisi Reisz wrote:

On Tuesday 23 April 2013 15:43:23 Dan Ritter wrote:

On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:

I will be using email, Usenet, browser and occasionally file
downloading.
Nothing on my system should look/act like a server.
I want all programs to access the internet after explicitly asking
for permission.
The response to the request may be:
No
Always YES
Ask each occurrence


Programs don't generally ask for permissions; they assume that
they are connected, and report failures when they can't make
connections.


I have come across several Windows firewalls which ask exactly that.  I
imagine that that is what Richard is thinking of.  Personally, I have never
come across that in Linux.
[snip]


By the way, you have an unusually brusque way of stating
conditions rather than asking questions, which comes across as
slightly rude.


Also, I had to do a double take to work out which bit was a question, rather
than a statement.  I think that he is asking us to recommend some reading
matter.



I intended the subject line to convey request for reading 
material.
The body of the message was to attempt to indicate areas I 
knew would be important to me.
I couldn't ask a specific question as I don't know anything 
about it in the Linux world.
And yes I have found certain features useful the Windows 
firewalls I've used and liked.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5176b7a2.4070...@cloud85.net



Openvpn frontend

2013-04-23 Thread Erwan David

Hi,

I am looking for an openvpn frontend (under KDE) which
1) imports a client config file without removing any part (that's not 
the case of network manager)
2) Does not need to use root password, root graphical conficuration 
(that removes kvpnc).


DO someone have an idea ?

Thank you.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5176b473.4020...@rail.eu.org



Re: a problem with CUPS

2013-04-23 Thread Sarunas Burdulis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/23/2013 10:27 AM, Paul Condon wrote:
> I have a rather complicated CUPS printing setup, which works, mostly,
> but not entirely:
> 
> My printer is an old HP 5MP, laser printer, which I purchased before HP
> invented the word "laserjet" because I was committed to Macintosh back
> then and the HP 5MP offered both parallel port and Apple Talk interfaces.
> 
> My current working desktop computer has neither of these. It is too new.
> And I don't think I have any Apple Talk cables any more. But I do have
> another, much older computer that does have a parallel port and an
> ethernet interface card. When I got my 'new' computer (one without
> parallel port) , I made the older computer into a 'print server',
> serving 'printing' over my LAN. It has worked well, except for times
> when new print software was released and I had to configure the CUPS
> soft ware. I have great difficulty comprehending CUPS.
> 
> My problem is that CUPS software does not handle .pdf files easily. If I
> try to print file, zyx.pdf, by typing "lpr zyx.pdf" , the command is
> accepted, the light
> flashes on the printer and after a while a piece of paper comes out of
> the printer ... but  it is -blank-. Evince also 'prints' only blank
> pages.  Pages from iceweasel, and emacs (including the fancy Postscript
> format) are printed correctly. But if I save the page to a file and then
> try to print the file, something prevents the black stuff from sticking
> to the print drum. Where is that something?
> 
> Ideas?
> TIA
> -- 
> Paul

Paul,

You may want to check CUPS error log at /var/log/cups/ on your print
server for any possible clues regarding PDF non-printing. Note the job
number for your PDF print job (lpq or lpstat on print server) and then
look for the entries with the same Job ID in CUPS error log.

I often see print errors for PDF files with partially embedded fonts.
Setting Adobe Reader to send all fonts at start cures this, but I'm not
sure if that option is available via lpr or lp.

You can try `lp` instead of `lpr`.

You can also try a different driver/PPD for your HP 5MP. Go to
http://your_print_server:631, Administration, Manage printers, select
printer, Admin., Modify. You might have a choice in between Gutenprint
and Foomatic/Postscript "models".

Sarunas Burdulis
http://math.dartmouth.edu/~sarunas

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlF2stYACgkQejaFVltl6E/YCwCgi9ci3Ee90Tje1YhN5nEFHIGB
l0IAoLl0xga8XJG+o5GC6jC19/qv3Yzr
=c4bu
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5176b2d6.9040...@math.dartmouth.edu



Don't do that!

2013-04-23 Thread Hans-J. Ullrich
Today I learnt this: Do NOT use ext4 for the /boot partition, where your 
kernel resides.

I did this on my EEEPC to speed up boot, and today I got at boot the error 
message: initrd.img corrupt. My EEEPC has got an ssd inside and /usr, /home 
and /var are encrypted partitions. 

It took me hours and hours to fix this. First I tried ext2fs, with no success. 
I could run Trinity Rescue Kit from a sd card, and I created a chroot, but not 
all was possible to do in the chroot. 

After lots of tries I got the solution: 

1. I backuped all the content of /boot to another drive.
2. Booted with a livefile and formatted /boot to ext2.
3. Restored /boot
4. Edited /etc/fstab, removed the UUID of /boot and removed disacard,noatime
5. Now I could boot again.
6. From the running system started "update-initramfs -u"
7. Did "dpkg-reconfigure linux-base", so I got the UUID in all necessary config 
files again.
8. For making all sure. did "update-grub"
9. Finally test, rebooted again, everything was ok.

So NEVER, NEVER, NEVER use ext4 for /boot! Don't do it! 
(If I would have read the manual, I should have known, ext4 and grub is still 
in experimental state)


Best regards

Hans


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304231752.54550.hans.ullr...@loop.de



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Wayne Topa

On 04/23/2013 11:06 AM, Richard Owlett wrote:

Dan Ritter wrote:

On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:

I will be using email, Usenet, browser and occasionally file
downloading.
Nothing on my system should look/act like a server.
I want all programs to access the internet after explicitly asking
for permission.
The response to the request may be:
No
Always YES
Ask each occurrence


Programs don't generally ask for permissions; they assume that
they are connected, and report failures when they can't make
connections.

I suppose that you could write a wrapper script for every
program, so that if you invoke it through the wrapper you have
opened the necessary ports, and if you invoke the program
without the wrapper the connections are dropped. However, while
the wrapper is being run, any copy of the program could have
the same permissions.

On Android systems, this issue is slightly addressed (though not
in the manner you want) by having a new user added for every
program, and running each program under that user-id. Since
iptables can look at effective user-id when making packet
accept/drop decisions, you can do per-program firewalls that
way.

By the way, you have an unusually brusque way of stating
conditions rather than asking questions, which comes across as
slightly rude.

-dsr-



Apologies, I've just been chastised by relatives and friends for going
in the other direction.
I was trying to make clear I want only minimal connectivity.
As to the per program feature, I want to prevent an app from deciding to
update on its schedule not mine. I'm restricted to dial-up so I need to
be able to ration a scarce resource, i.e. connectivity.



The only package that upgrades automatically, that I know of, is cron-apt so
Don't install that.

When I was on dial up I tried a number of firewalls and found that the
arno-iptables-firewall was the best for me.  So much so I am still using 
it now on Verizon 3g.   YMMV.


HTH
--
WT



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5176a9c5.3070...@gmail.com



Re: a problem with CUPS

2013-04-23 Thread Russell L. Harris
* Paul Condon  [130423 14:30]:
...
> My problem is that CUPS software does not handle .pdf files easily.
> If I try to print file, zyx.pdf, by typing "lpr zyx.pdf" , the
> command is accepted, the light
> flashes on the printer and after a while a piece of paper comes out
> of the printer ... but  it is -blank-. Evince also 'prints' only
> blank pages.  Pages from iceweasel, and emacs (including the fancy
> Postscript format) are printed correctly. But if I save the page to
> a file and then try to print the file, something prevents the black
> stuff from sticking to the print drum. Where is that something?

Someone suggested to me the workaround of printing to a filename.ps
file, then using the terminal command lpr filename.ps .  This has been
working for me.

RLH


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423151545.ga2...@gospelbroadcasting.org



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Darac Marjal
On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:
> I will be using email, Usenet, browser and occasionally file
> downloading.
> Nothing on my system should look/act like a server.
> I want all programs to access the internet after explicitly asking
> for permission.
> The response to the request may be:
>No
>Always YES
>Ask each occurrence

Have a look at mason and firestarter. Both allow you to set up your
firewall in a "training" mode and will ask you "Should I allow this
connection?" Mason is TUI-based, Firestarter is a GTK GUI.



signature.asc
Description: Digital signature


Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Jochen Spieker
Richard Owlett:
> 
> Apologies, I've just been chastised by relatives and friends for
> going in the other direction.

Never mind.

> I was trying to make clear I want only minimal connectivity.
> As to the per program feature, I want to prevent an app from
> deciding to update on its schedule not mine. I'm restricted to
> dial-up so I need to be able to ration a scarce resource, i.e.
> connectivity.

Oh, so your request is actually about outbound traffic, not (only)
inbound. I don't think this is currently feasible with Linux.

J.
-- 
I can tell a Whopper[tm] from a BigMac[tm] and Coke[tm] from Pepsi[tm].
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: a problem with CUPS

2013-04-23 Thread Wayne Topa

On 04/23/2013 10:27 AM, Paul Condon wrote:

I have a rather complicated CUPS printing setup, which works, mostly,
but not entirely:

My printer is an old HP 5MP, laser printer, which I purchased before HP
invented the word "laserjet" because I was committed to Macintosh back
then and the HP 5MP offered both parallel port and Apple Talk interfaces.

My current working desktop computer has neither of these. It is too new.
And I don't think I have any Apple Talk cables any more.


Does you new computer have any USB ports?  If yes, you can buy a usb to 
parallel cable to get it working.  That's what I use on my HP6P laser 
printer.



But I do have
another, much older computer that does have a parallel port and an
ethernet interface card. When I got my 'new' computer (one without
parallel port) , I made the older computer into a 'print server',
serving 'printing' over my LAN. It has worked well, except for times
when new print software was released and I had to configure the CUPS
soft ware. I have great difficulty comprehending CUPS.

My problem is that CUPS software does not handle .pdf files easily. If I
try to print file, zyx.pdf, by typing "lpr zyx.pdf" , the command is
accepted, the light
flashes on the printer and after a while a piece of paper comes out of
the printer ... but it is -blank-. Evince also 'prints' only blank
pages. Pages from iceweasel, and emacs (including the fancy Postscript
format) are printed correctly. But if I save the page to a file and then
try to print the file, something prevents the black stuff from sticking
to the print drum. Where is that something?

Ideas?


As my HP6P can't print PDF files using lpr either, I use a PDF program 
to print PDF files.  I am using the okular PDF viewer package.


HTH
--
WT


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5176a5ff.1020...@gmail.com



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Lisi Reisz
On Tuesday 23 April 2013 16:06:18 Richard Owlett wrote:
> I want to prevent an app from
> deciding to update on its schedule not mine.

I don't have any applications set to update automatically.  That is the simple 
solution to that problem!

Lisi 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304231614.27001.lisi.re...@gmail.com



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Lisi Reisz
On Tuesday 23 April 2013 15:43:23 Dan Ritter wrote:
> On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:
> > I will be using email, Usenet, browser and occasionally file
> > downloading.
> > Nothing on my system should look/act like a server.
> > I want all programs to access the internet after explicitly asking
> > for permission.
> > The response to the request may be:
> >No
> >Always YES
> >Ask each occurrence
>
> Programs don't generally ask for permissions; they assume that
> they are connected, and report failures when they can't make
> connections.

I have come across several Windows firewalls which ask exactly that.  I 
imagine that that is what Richard is thinking of.  Personally, I have never 
come across that in Linux.
[snip]

> By the way, you have an unusually brusque way of stating
> conditions rather than asking questions, which comes across as
> slightly rude.

Also, I had to do a double take to work out which bit was a question, rather 
than a statement.  I think that he is asking us to recommend some reading 
matter.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304231611.30107.lisi.re...@gmail.com



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Jochen Spieker
Richard Owlett:
>
> I will be using email, Usenet, browser and occasionally file
> downloading.
> Nothing on my system should look/act like a server.
> I want all programs to access the internet after explicitly asking
> for permission.
> The response to the request may be:
>No
>Always YES
>Ask each occurrence

This sounds like you want some kind of "personal firewall" like it is
(or was) common on Windows.

What problem do you want to solve? The security gain of this approach is
very small. The nearest solution is to setup iptables to reject incoming
connection attempts. Doing that manually requires basic knowledge about
TCP/IP. There are frontends that may help you. The package 'gufw' is
probably close to that you would expect.

(And yes, your e-mail sounds rather brusque. And since you didn't
actually ask a question, it is hard to give a meaningful answer.)

J.
-- 
I wish I looked more like a successful person even though I'm a loser.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Richard Owlett

Dan Ritter wrote:

On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:

I will be using email, Usenet, browser and occasionally file
downloading.
Nothing on my system should look/act like a server.
I want all programs to access the internet after explicitly asking
for permission.
The response to the request may be:
No
Always YES
Ask each occurrence


Programs don't generally ask for permissions; they assume that
they are connected, and report failures when they can't make
connections.

I suppose that you could write a wrapper script for every
program, so that if you invoke it through the wrapper you have
opened the necessary ports, and if you invoke the program
without the wrapper the connections are dropped. However, while
the wrapper is being run, any copy of the program could have
the same permissions.

On Android systems, this issue is slightly addressed (though not
in the manner you want) by having a new user added for every
program, and running each program under that user-id. Since
iptables can look at effective user-id when making packet
accept/drop decisions, you can do per-program firewalls that
way.

By the way, you have an unusually brusque way of stating
conditions rather than asking questions, which comes across as
slightly rude.

-dsr-



Apologies, I've just been chastised by relatives and friends 
for going in the other direction.

I was trying to make clear I want only minimal connectivity.
As to the per program feature, I want to prevent an app from 
deciding to update on its schedule not mine. I'm restricted 
to dial-up so I need to be able to ration a scarce resource, 
i.e. connectivity.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5176a36a.4040...@cloud85.net



Re: Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Dan Ritter
On Tue, Apr 23, 2013 at 09:28:17AM -0500, Richard Owlett wrote:
> I will be using email, Usenet, browser and occasionally file
> downloading.
> Nothing on my system should look/act like a server.
> I want all programs to access the internet after explicitly asking
> for permission.
> The response to the request may be:
>No
>Always YES
>Ask each occurrence

Programs don't generally ask for permissions; they assume that
they are connected, and report failures when they can't make
connections.

I suppose that you could write a wrapper script for every
program, so that if you invoke it through the wrapper you have
opened the necessary ports, and if you invoke the program
without the wrapper the connections are dropped. However, while
the wrapper is being run, any copy of the program could have
the same permissions.

On Android systems, this issue is slightly addressed (though not
in the manner you want) by having a new user added for every
program, and running each program under that user-id. Since
iptables can look at effective user-id when making packet
accept/drop decisions, you can do per-program firewalls that
way.

By the way, you have an unusually brusque way of stating
conditions rather than asking questions, which comes across as
slightly rude. 

-dsr-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423144323.gj27...@randomstring.org



Introductory reading on firewall/iptables/etc for new Debian user?

2013-04-23 Thread Richard Owlett
I will be using email, Usenet, browser and occasionally file 
downloading.

Nothing on my system should look/act like a server.
I want all programs to access the internet after explicitly 
asking for permission.

The response to the request may be:
   No
   Always YES
   Ask each occurrence




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51769a81.9000...@cloud85.net



a problem with CUPS

2013-04-23 Thread Paul Condon
I have a rather complicated CUPS printing setup, which works, mostly, 
but not entirely:


My printer is an old HP 5MP, laser printer, which I purchased before HP 
invented the word "laserjet" because I was committed to Macintosh back 
then and the HP 5MP offered both parallel port and Apple Talk interfaces.


My current working desktop computer has neither of these. It is too new. 
And I don't think I have any Apple Talk cables any more. But I do have 
another, much older computer that does have a parallel port and an 
ethernet interface card. When I got my 'new' computer (one without 
parallel port) , I made the older computer into a 'print server', 
serving 'printing' over my LAN. It has worked well, except for times 
when new print software was released and I had to configure the CUPS 
soft ware. I have great difficulty comprehending CUPS.


My problem is that CUPS software does not handle .pdf files easily. If I 
try to print file, zyx.pdf, by typing "lpr zyx.pdf" , the command is 
accepted, the light
flashes on the printer and after a while a piece of paper comes out of 
the printer ... but  it is -blank-. Evince also 'prints' only blank 
pages.  Pages from iceweasel, and emacs (including the fancy Postscript 
format) are printed correctly. But if I save the page to a file and then 
try to print the file, something prevents the black stuff from sticking 
to the print drum. Where is that something?


Ideas?
TIA
--
Paul


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51769a45.9010...@gmail.com



Re: [Debian installer] Problem with umounting hd-media

2013-04-23 Thread Brian
On Tue 23 Apr 2013 at 10:58:16 +0200, Julien Groselle wrote:

> We are installing some Debian wheezy on tests servers and we are assuming
> some issues :
> One of them are really annoying :
> - We install the system with USB flash drive.

Using a methods from either Section 4.3.2. or Section 4.3.3. of the
manual?

> - After booting on it, the USB stick is mounted on /hd-media/
> - The .iso image situated in hd-media is loop mounted on /cd-rom/

Mounting takes place when an ISO is selected. 

> - After that, the installer umount /hd-media/ and /cd-rom/ is still mounted

The unmounting of /dev/sdX actually takes place at the Detect network
hardware stage.

> 1. we need data on USB key to use trunk module
> 2. we need data on USB key to launch post-install script
> 
> It is impossible to remount USB stick on /hd-media/ because it is busy (iso
> on cd-rom).
> 
> We don't know if it is a bug or a normal behavior...

It is not the behaviour with a Squeeze ISO but someone on debian-boot is
likely to know whether the change in iso-scan is intentional. I'd say it
is worth sending a mail there.

> But we need to keep data on USB Stick accessible on the server during all
> the install process.
> 
> Please, we need advice on this case.

1. Provide the data on another USB stick, or

2. Write the ISO to a USB stick as in Section 4.3.1. There is free space
   remaining to partition and format.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423142206.GB3248@desktop



PureFTPd

2013-04-23 Thread James Allsopp
Hi,
I've a pureFTPD install that I need to increase the quota and max size of
one file on. How can I go about doing that?

Thanks,
James


Re: Why does my ssh session terminate immediately?

2013-04-23 Thread Andreas Leha
Hi Bob, Guido, and Vincent

Vincent Lefevre  writes:

> On 2013-04-22 22:49:23 +0200, Andreas Leha wrote:
>> thanks for that.  Here is what I get:
>> ,
>> | + '[' -z '' ']'
>> | + return
>> | Connection to 192.168.2.109 closed.
>> `
>
> You said earlier:
>
>> (I can, for instance, run a crippled bash with 'ssh root@192.168.2.109 bash')
>
> So, perhaps that's the "-t" which is a problem.
>
> What if you run 'ssh -t root@192.168.2.109 bash'?
>

Thanks for all the follow-ups on this matter.  I will try all your
suggestions and report back.  Unfortunately, this will happen in about
12 hours only, since I have no access to that network right now.

I can access the files, but thanks for the suggestion of sftp, which did
not occur to me.

I think I have tried the 'ssh -t' but I don't recall the effect I saw.
More on that when I tried it.

Regards,
Andreas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ehe17caj@med.uni-goettingen.de



Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Anthony Campbell
On 23 Apr 2013, Vincent Lefevre wrote:
> > Another problem is that your posts are peppered with lots of codes which
> > make them annoying to read on a text-based email reader like mutt.
> 
> Strange. I also use Mutt (with various patches) and I don't see any
> problem with Patrick's mail.
> 

Interesting. After some experimenting, it seems that there is something
in my .muttrc that is causing this, since if I don't use the
configuration file the codes disappear. I shall have to look into
this.


-- 
Anthony Campbell - a...@acampbell.org.uk 
http://www.acampbell.org.uk
http://www.reviewbooks.org.uk
http://www.skepticviews.org.uk 
http://www.acupuncturecourse.org.uk
http://www.smashwords.com/profile.view/acampbell
https://itunes.apple.com/ca/artist/anthony-campbell/id73235412






-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423101010.ga3...@acampbell.org.uk



Re: rootfs

2013-04-23 Thread Martin Steigerwald
Am Samstag, 20. April 2013 schrieb Kevin Chadwick:
> > > Don't believe opinion as fact just because it's on a server hosted
> > > by freedesktop.org. Rusty Russel and the FHS is a more
> > > authoritative (and correct) source, I suggest you read it.
> > 
> > I never split up / and /usr for the last century or so and they are
> > all working fine.
> 
> Wow, your 100 years old and you haven't understood the FHS yet ;-)

What do you intend by taking my exaggeration word for word literately while 
it is quite likely that I am not 100 years old?

> Working is not best practice.

FHS is not mandatory for best practice either.

A standard is still an oppinion, although backed by more than one person.

In practice I found more issues with systems that have /usr splitted up than 
with those that do not. Especially if /usr has been made to small. Its one 
more chance to mis-estimate partition sizes.

If you intend to continue the discussion on the assumption that you are 
right and I am wrong without accepting that different people can have 
different oppinions about this topic, feel free to do so, but *without* me.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201304231105.14064.mar...@lichtvoll.de



[Debian installer] Problem with umounting hd-media

2013-04-23 Thread Julien Groselle
Hello debian users,

We are installing some Debian wheezy on tests servers and we are assuming
some issues :
One of them are really annoying :
- We install the system with USB flash drive.
- After booting on it, the USB stick is mounted on /hd-media/
- The .iso image situated in hd-media is loop mounted on /cd-rom/
- After that, the installer umount /hd-media/ and /cd-rom/ is still mounted

1. we need data on USB key to use trunk module
2. we need data on USB key to launch post-install script

It is impossible to remount USB stick on /hd-media/ because it is busy (iso
on cd-rom).

We don't know if it is a bug or a normal behavior...
But we need to keep data on USB Stick accessible on the server during all
the install process.

Please, we need advice on this case.
Have a good day & enjoy Linux ;-)
---
*JG*


Re: Dist-upgrade or upgrade. Which?

2013-04-23 Thread Vincent Lefevre
On 2013-04-23 07:57:11 +0100, Anthony Campbell wrote:
> On 22 Apr 2013, Patrick Bartek wrote:
> > > 
> > > It would be nice if you could trim that to one line.
> > > 
> > >>> [snip]
> > 
> > Yes, it would, but I use Yahoo mail for this list, and that is Yahoo's 
> > reply header.  I cannot have my own custom reply header, nor can I opt not 
> > to have one at all.  At least, not that I've been able to find in the Mail 
> > Settings.  I can, however, edit or erase it from any reply as I did above, 
> > but sometimes I forget.
> > 
> 
> Another problem is that your posts are peppered with lots of codes which
> make them annoying to read on a text-based email reader like mutt.

Strange. I also use Mutt (with various patches) and I don't see any
problem with Patrick's mail.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423085830.gb22...@xvii.vinc17.org



automounting /dev/mqueue

2013-04-23 Thread Digby Tarvin
I am making some use of posix messages queues, and in order to
interactively view/manipulate these queues on my Debian squeeze system it
is necessary,
as described in mq_overview(7), in  to manually:
  mkdir /dev/mqueue
  mount -t mqueue none /dev/mqueue
after each boot

I am looking for the best way to make this automatic, and as /dev/shm is
already
being automatically mounted to give access posix semaphores and shared
memory, it seems logical and consistent to mount mqueue the same way...

There appears to be a line
D shm
 /etc/udev/links.conf, to create the mount point which suggests that a
similar entry for mqueue would be appropriate, although the comment at the
top of the file suggests that its use is discouraged. The alternative of
/lib/udev/devices suggested in the comment does not seem appropriate
as what is being created is a directory (mount point), not a device

There also appears to be a line to create the mount point 'shm' if it
doesn't
already exist (and then mount it) in /etc/init.d/mountdevsubfs.sh, plus
an unmounting command in /etc/init.d/udev.

Then again, I can't see any reason why the mounting couldn't be handled
a little more intuitively by adding an entry to /etc/fstab...

Does anyone know if there is a reason why shm is mounted by default and
mqueue is not?

Is there any consensus on the best way to have this filesystem mounted
on boot?

DigbyT


Re: .wav to text?

2013-04-23 Thread Chris Bannister
On Mon, Apr 22, 2013 at 06:26:45PM +0200, Hans-J. Ullrich wrote:
> 
> You can then apt-get update again and then update as normal. To clear the 
> database you may also try "dpkg --clear-avail", then do a new "apt-get 
> update".

Will that work? AFAIR, dpkg only knows about locally installed packages,
so I wouldn't recommend the "dpkg --clear-avail" command.

In situations where I have installed a foreign package, (i.e. one that
isn't the sources list) I've never bothered messing with dpkg's
knowledge of the system, it just does the right thing.

e.g.

root@tal:~# apt-cache policy fahclient
fahclient:
  Installed: 7.1.52
  Candidate: 7.1.52
  Version table:
 *** 7.1.52 0
100 /var/lib/dpkg/status

IOW, what does an "apt-get update" do after a "dpkg --clear-avail"?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130423074615.GA5374@tal