Re: using `myscript.sh` to change current env

2013-09-06 Thread der.hans

Am 07. Sep, 2013 schwätzte Zenaan Harkness so:

moin moin Zenaan,

Rather than all the convolutions of command substitution, how about just
using a function that's in your profile or bashrc?

$ cat /tmp/bashrc 
function changeps() {

export PS1=': '
}
$ . /tmp/bashrc 
$ changeps 
:


Add arguments to the fx() for your different options :).

ciao,

der.hans


I want to have a script, to change between a few prompts per the arg
supplied. This is so I can quickly change from my glorious
bells-and-whistles prompt to a plain prompt (eg for cut and paste to
debian-user, just "$ " or "# " depending on current user) to a
timestamped prompt (when I have some long-running process, and I want
to see when it finished) etc.

In bash, we cannot run a script plainly, and have that script update
the current shell's env.

We could source the script with 'source' or '.' command, but this
requires a correct location of the script to be entered, which is slow
and not ideal. I want to be able to run the script as a command.

So I thought, run the script in a subshell, executing the result, like:
$ `ps1`

The following 3-line script is meant to test exactly this:

#!/bin/bash
PS1=': '
echo "export PS1=$PS1"

Note that in this example, the desired new prompt is a colon followed
by a single space.
The problem is, when I run this script as `ps1`, I get a changed
prompt, but just to colon, not including the space.

Does anyone know how I might have a space character included in my new
prompt, using this `way` to change my prompt?

TIA
Zenaan





--
#  http://www.LuftHans.com/http://www.LuftHans.com/Classes/
#  "Science is like sex: sometimes something useful comes out, but
#  that is not the reason we are doing it." -- Richard Feynman

Re: How many packages in Sid

2013-09-06 Thread Chris Bannister
On Thu, Sep 05, 2013 at 10:52:48PM +0200, Ralf Mardorf wrote:
> On Thu, 2013-09-05 at 22:16 +0200, sp113438 wrote:
> > How do I find out the number of packages currently in Sid?
> 
> This doesn't give any information about the quantity of software
> available from upstream, 

Which is not what the OP asked.

> since Debian does split the software from upstream to several 
> packages. 

Which is a good thing. It allows versatility in an installation. e.g.
You may want an ssh client, but not an ssh server running. 
Also, don't confuse library packages with leaf packages. It makes far
more sense to separate out common code into a library and make it an
individual package where it only needs to be installed *ONCE* but can be
shared. Compare this to monolithic packages, where the *SAME* code is
installed over and over again, and you get everything but the kitchen
sink WHETHER you need it or not!!!

> some distros don't do this, 

Really? Name one.

> so a distro
> might provide less packages, but could provide more software.

Really? Name one. 

-- 
"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/20130907064924.GC2558@tal



Re: using `myscript.sh` to change current env

2013-09-06 Thread Zenaan Harkness
On 9/7/13, Zenaan Harkness  wrote:

> So I thought, run the script in a subshell, executing the result, like:
> $ `ps1`
>
> The following 3-line script is meant to test exactly this:
>
> #!/bin/bash
> PS1=': '
> echo "export PS1=$PS1"

When I change the last line to this:

echo "export PS1=\"${PS1}\""

I get:
bash: export: `"': not a valid identifier

So it appears that my current/parent shell is tokenizing the output of
`...` based on the space.

I guess, why is it tokenizing on space, yet ignoring the quotes?

TIA
Zenaan


-- 
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/caosgnsrwo-culo3m9ipf5vhcevoixxetybx-ya0ujh-+awu...@mail.gmail.com



Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-06 Thread Brian
On Fri 06 Sep 2013 at 13:56:01 -0700, Gregory Nowak wrote:

> On Fri, Sep 06, 2013 at 10:36:12AM -0400, Tom H wrote:
> > If you append "text" to the kernel commandline, you'll boot into text
> > mode, similar to an RH-based runlevel 3.
> 
> I stand corrected. I did some research, and there does in fact appear
> to be a text mode in debian per the text boot option. Apologies if my
> statement saying that there's no such thing as text mode in debian
> caused confusion. This does in fact seem to be the equivalent of not
> starting graphical desktop in a certain run level as is the case in
> some other distributions.

The kernel parameter "text" is acted on if gdm3 and lightdm are used;
when starting up they consult /proc/cmdline and look for the text
option. An xdm user would agree with your original statement.


-- 
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/07092013071628.e9d1600fb...@desktop.copernicus.demon.co.uk



using `myscript.sh` to change current env

2013-09-06 Thread Zenaan Harkness
I want to have a script, to change between a few prompts per the arg
supplied. This is so I can quickly change from my glorious
bells-and-whistles prompt to a plain prompt (eg for cut and paste to
debian-user, just "$ " or "# " depending on current user) to a
timestamped prompt (when I have some long-running process, and I want
to see when it finished) etc.

In bash, we cannot run a script plainly, and have that script update
the current shell's env.

We could source the script with 'source' or '.' command, but this
requires a correct location of the script to be entered, which is slow
and not ideal. I want to be able to run the script as a command.

So I thought, run the script in a subshell, executing the result, like:
$ `ps1`

The following 3-line script is meant to test exactly this:

#!/bin/bash
PS1=': '
echo "export PS1=$PS1"

Note that in this example, the desired new prompt is a colon followed
by a single space.
The problem is, when I run this script as `ps1`, I get a changed
prompt, but just to colon, not including the space.

Does anyone know how I might have a space character included in my new
prompt, using this `way` to change my prompt?

TIA
Zenaan


-- 
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/CAOsGNSQhMnbEjBBecPYBiF4m20HZ6Av_fZE6EV=ofyaqfgd...@mail.gmail.com



Re: ANNOUNCEMENT: Intel processor microcode security update

2013-09-06 Thread Elimar Riesebieter
* Henrique de Moraes Holschuh  [2013-09-03 09:05 -0300]:

[...]
> You must also update the initramfs so that the processor microcode will be
> updated after a reboot/power off.  The packages will try to do it
> automatically for the running kernel and that should be enough for most
> users.
> 
> However, if you use several different kernels, please update all the
> initramfs images running "update-initramfs -k all -u" as root.

My kernels don't need initramfs images. How to handle this?

Elimar
-- 
  "Talking much about oneself can also
   be a means to conceal oneself."
 -Friedrich Nietzsche


-- 
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/20130907055538.ga6...@galadriel.home.lxtec.de



Re: Ownership of pluggable devices.

2013-09-06 Thread Zenaan Harkness
On 9/7/13, Gregory Nowak  wrote:
> On Fri, Sep 06, 2013 at 07:28:46PM +0400, recovery...@gmail.com wrote:
>> Take two different hosts, make user with the same name, but different
>> uids on those hosts.
>>
>> Take USB stick, format it as ext2 (any filesystem keeping file
>> permissions will do, actually).
>>
>> Now, move some files with this USB stick between hosts.
>>
>> This is exactly the situation that requires chown-after-mount unless
>> you have root on both hosts.
>
> Yes, you're right. In the past, I either mounted fat/vfat drives on
> different systems, or mounted an ext3 drive always on the same system,
> or had the same user with same uid on each system. That's why I hadn't
> run before into what you describe, which would require chown after
> each mount as you point out.

Which filesystem to recommend for external USB portable drives, which
move between 'random' hosts?

Perhaps fuseext2 would simplify this? I don't have experience with it yet.

The point is, a lot of us who would read this list, would be those who
are able and/ or do install Debian for others.

There should be an "easy for grandma" installation setup for the use
("by grandma") of externally attached/ portable drives.

Anyone know what The Right Way(TM)(R)(C) is?
Or should be with some scripting/ configuration?
Or could be with some hacking?

At the moment, the situation has been dissatisfactory (for grandma)
for years now, as see it.


-- 
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/CAOsGNSQyi80FzbVR-2GwW0Jd29HGxK89XGR+8O4y44=1nfx...@mail.gmail.com



Re: Re: Reg: Error in apt-get install in libstdc++ package

2013-09-06 Thread Gregory Nowak
On Thu, Sep 05, 2013 at 07:37:03PM +0530, Balamurugan wrote:
> I tried 'apt-get update' but didn't tried 'apt-get dist-upgrade'. I
> have simply installed the Debian 7.0(Wheezy), imported the debian
> repositories near to india and just ran the below:
> 
> apt-get update
> apt-get install libstdc++
> 
> It had libstdc++6 installed already. I expected either it would
> update to the latest libstdc++ else say the existing package itself
> is latest but unfortunately it gave the mentioned error.

How can it say the existing package is the latest if no such package
exists to begin with?

> 
> I have another machine which has CentOS 6.4. In that I ran 'yum
> install libstdc++' and it said the existing package is the latest.

CentOS and debian are two different distributions which do various
things differently.

> Hence I felt something is wrong in my Debian 7.0 (Wheezy).

No, nothing wrong unless you're seeing a specific problem related to
the standard c++ library.

> 
> Doesn't the command 'apt-get dist-upgrade' will do Debian version
> upgrade (distribution) or will it upgrade libstdc++?
> 

It will do both if there is a newer version of the standard c++
library. The apt-get man page explains all this.

> Sorry for too many confusions in my mail. I am new in using the
> debian package maintenance system.

No problem, we were all new at this at one time.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org


-- 
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/20130906230735.ga31...@gregn.net



Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-06 Thread Gregory Nowak
On Fri, Sep 06, 2013 at 10:36:12AM -0400, Tom H wrote:
> If you append "text" to the kernel commandline, you'll boot into text
> mode, similar to an RH-based runlevel 3.

I stand corrected. I did some research, and there does in fact appear
to be a text mode in debian per the text boot option. Apologies if my
statement saying that there's no such thing as text mode in debian
caused confusion. This does in fact seem to be the equivalent of not
starting graphical desktop in a certain run level as is the case in
some other distributions.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org


-- 
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/20130906205601.ga14...@gregn.net



Re: rename ttyS*

2013-09-06 Thread Stephen Powell
On Fri, 06 Sep 2013 09:20:08 -0400 (EDT), Josh Stephens wrote:
> 
> You could look at using a udev rule to do the mapping for you.

(Sigh).  Replying to Cosme's posts are a waste of time.  He is from
Cuba.  And his government blocks in-coming e-mails from
outside Cuba.  And either the Debian mailing list archives are a blocked
web site or he doesn't know how to access them.  The only way he's going
to get a reply, if at all, is if someone inside Cuba sends him a private
e-mail.  And that's not likely, because chances are no-one inside Cuba
saw his post.  Cosme posted essentially the same question last month,
and got some on-list replies, one from me, but he evidently did not see them.
It is very frustrating.  It's probably frustrating for him, too.

As for the "problem" itself, I don't see the problem.  Linux is working
as designed.  That's what it is supposed to do.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1173885961.3028466.1378507772181.javamail.r...@md01.wow.synacor.com



Re: How many packages in Sid

2013-09-06 Thread Curt
On 2013-09-06, sp113438  wrote:
> Thanks!
>
> Synaptics says I have 41313 packages ready to install on my Sid system
> which I updated today.

Of the 41,313 packages that Mrs. Synaptics (whose she, anyway?) says you
have ready to install, how many are you planning on using?

I must lack intellectual curiosity (as opposed to the curiosity cats
demonstrate) because I don't care how many packages there are, unless
one I want is missing, and then I'm writing my congressman.


-- 
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/slrnl2jup6.2o9.cu...@einstein.electron.org



Identifying CPU

2013-09-06 Thread shirish शिरीष
cpuid is the best if you are looking for any sort of detailed info.

See http://forums.debian.net/viewtopic.php?f=10&t=106956 for details.
-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
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/CADdDZRmho5qg2DoW+9F9P6EwJ2ZFK8o9eBnmrnapy2CG+=0...@mail.gmail.com



Re: Identifying CPU

2013-09-06 Thread Danilo Sampaio
great tool!


On Fri, Sep 6, 2013 at 5:47 PM, shirish शिरीष  wrote:

> cpuid is the best if you are looking for any sort of detailed info.
>
> See http://forums.debian.net/viewtopic.php?f=10&t=106956 for details.
> --
>   Regards,
>   Shirish Agarwal  शिरीष अग्रवाल
>   My quotes in this email licensed under CC 3.0
> http://creativecommons.org/licenses/by-nc/3.0/
> http://flossexperiences.wordpress.com
> 065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17
>
>
> --
> 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/cadddzrmho5qg2dow+9f9p6ewj2zfk8o9ebnmrnapy2cg+0...@mail.gmail.com
>
>


-- 
Danilo Sampaio
Skype: danilosampa
Msn: danilosa...@hotmail.com

Dyad & Associados
40084711


Re: Ownership of pluggable devices.

2013-09-06 Thread Gregory Nowak
On Fri, Sep 06, 2013 at 07:28:46PM +0400, recovery...@gmail.com wrote:
> Take two different hosts, make user with the same name, but different
> uids on those hosts.
> 
> Take USB stick, format it as ext2 (any filesystem keeping file
> permissions will do, actually).
> 
> Now, move some files with this USB stick between hosts.
> 
> This is exactly the situation that requires chown-after-mount unless
> you have root on both hosts.

Yes, you're right. In the past, I either mounted fat/vfat drives on
different systems, or mounted an ext3 drive always on the same system,
or had the same user with same uid on each system. That's why I hadn't
run before into what you describe, which would require chown after
each mount as you point out.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org


-- 
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/20130906211306.gb14...@gregn.net



Re: ANNOUNCEMENT: Intel processor microcode security update

2013-09-06 Thread shirish शिरीष
Dear Henrique de Moraes Holschuh and all,

Sorry for being late to the party. I installed Debian about a month ago.

Would installing the intel processor microcode package and the
icu-tools have any benefit to me ?

 cpuid -1 | grep 'Intel Pentium'
  family  = Intel Pentium Pro/II/III/Celeron/Core/Core
2/Atom, AMD Athlon/Duron, Cyrix M2, VIA C3 (6)
   (synth) = Intel Pentium Dual-Core Processor E5000/E6000 (Wolfdale R0), 45nm

I did see the long description of both the packages but became none the wiser.

$ aptitude show iucode-tool
Package: iucode-tool
State: not installed
Version: 1.0-1
Priority: optional
Section: contrib/utils
Maintainer: Henrique de Moraes Holschuh 
Architecture: amd64
Uncompressed Size: 51.2 k
Depends: libc6 (>= 2.14)
Recommends: intel-microcode (>= 1)
Description: Intel processor microcode tool
 iucode_tool is a program to manipulate Intel® X86 and X86-64
processor microcode collections, and to use the kernel
 facilities to upgrade the microcode on Intel system processors.

 It can load microcode data files in text and binary format, sort,
list and filter the microcodes contained in these files,
 write selected microcodes to a new file in binary format, or upload
them to the kernel.

 It operates on non-free microcode data downloaded directly from Intel
or installed by the intel-microcode package.

$ aptitude show intel-microcode
Package: intel-microcode
State: not installed
Version: 2.20130808.1
Priority: extra
Section: non-free/admin
Maintainer: Henrique de Moraes Holschuh 
Architecture: amd64
Uncompressed Size: 433 k
Depends: iucode-tool (>= 1.0)
Recommends: initramfs-tools (>= 0.113)
Conflicts: microcode.ctl (< 0.18~0)
Description: Processor microcode firmware for Intel CPUs
 This package contains updated system processor microcode for Intel
i686 and Intel X86-64 processors.  Intel releases
 microcode updates to correct processor behavior as documented in the
respective processor specification updates.

 For AMD processors, please refer to the amd64-microcode package.
Homepage: http://feeds.downloadcenter.intel.com/rss/?p=483&lang=eng

Tags: hardware::TODO, role::app-data, use::driver

The CPU is around 7 yrs. old hence curious if this will improve the CPU or not ?

Look forward to your reply and please CC me while replying.
-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
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/CADdDZR=v9a4q51s=ki5+=w0hhjpeh+uy5ia_gsammkpnv-e...@mail.gmail.com



Re: how to remove libaudit0 and install libaudit1?

2013-09-06 Thread Sven Joachim
On 2013-09-06 22:30 +0200, shirish शिरीष wrote:

> I'm on debian-testing and recently libaudit1 entered testing and I'm
> able to upgrade to it due to some issues.
>
> See :-
>
> $ sudo aptitude full-upgrade

Personally I find full-upgrade unnecessary and only use safe-upgrade.

> The following NEW packages will be installed:
>   libaudit-common{ab} libaudit1{a}
> The following packages will be upgraded:
>   gdm3 libpam-systemd systemd
> 3 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 2,181 kB of archives. After unpacking 181 kB will be used.
> The following packages have unmet dependencies:
>  libaudit-common : Breaks: libaudit0 but 1:1.7.18-1.1 is installed.
> The following actions will resolve these dependencies:
>
>   Remove the following packages:
> 1)  libaudit0
> 2)  task-desktop
> 3)  xorg

You don't want to remove those.

> Accept this solution? [Y/n/q/?] q
> Abandoning all efforts to resolve these dependencies.
> Abort.
>
> Any idea how I can go about this without removing all those packages.

Wait for xorg-server to migrate, should hopefully happen soon.

Cheers,
   Sven


--
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/8738phptvk@turtle.gmx.de



Re: how to remove libaudit0 and install libaudit1?

2013-09-06 Thread shirish शिरीष
addition at bottom :-

On 9/7/13, shirish शिरीष  wrote:
> Hi all,
> I'm on debian-testing and recently libaudit1 entered testing and I'm
> able to upgrade to it due to some issues.
>
> See :-
>
> $ sudo aptitude full-upgrade
> The following NEW packages will be installed:
>   libaudit-common{ab} libaudit1{a}
> The following packages will be upgraded:
>   gdm3 libpam-systemd systemd
> 3 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 2,181 kB of archives. After unpacking 181 kB will be used.
> The following packages have unmet dependencies:
>  libaudit-common : Breaks: libaudit0 but 1:1.7.18-1.1 is installed.
> The following actions will resolve these dependencies:
>
>   Remove the following packages:
> 1)  libaudit0
> 2)  task-desktop
> 3)  xorg
> 4)  xserver-xephyr
> 5)  xserver-xorg
> 6)  xserver-xorg-core
> 7)  xserver-xorg-input-all
> 8)  xserver-xorg-input-evdev
> 9)  xserver-xorg-input-mouse
> 10) xserver-xorg-input-synaptics
> 11) xserver-xorg-input-vmmouse
> 12) xserver-xorg-input-wacom
> 13) xserver-xorg-video-all
> 14) xserver-xorg-video-apm
> 15) xserver-xorg-video-ark
> 16) xserver-xorg-video-ati
> 17) xserver-xorg-video-chips
> 18) xserver-xorg-video-cirrus
> 19) xserver-xorg-video-fbdev
> 20) xserver-xorg-video-i128
> 21) xserver-xorg-video-intel
> 22) xserver-xorg-video-mach64
> 23) xserver-xorg-video-mga
> 24) xserver-xorg-video-neomagic
> 25) xserver-xorg-video-nouveau
> 26) xserver-xorg-video-openchrome
> 27) xserver-xorg-video-r128
> 28) xserver-xorg-video-radeon
> 29) xserver-xorg-video-rendition
> 30) xserver-xorg-video-s3
> 31) xserver-xorg-video-s3virge
> 32) xserver-xorg-video-savage
> 33) xserver-xorg-video-siliconmotion
> 34) xserver-xorg-video-sis
> 35) xserver-xorg-video-sisusb
> 36) xserver-xorg-video-tdfx
> 37) xserver-xorg-video-trident
> 38) xserver-xorg-video-tseng
> 39) xserver-xorg-video-vesa
> 40) xserver-xorg-video-vmware
> 41) xserver-xorg-video-voodoo
>
>   Leave the following dependencies unresolved:
> 42) gdm3 recommends xserver-xephyr
> 43) gdm3 recommends xserver-xorg
> 44) kdm recommends xserver-xorg | xserver
> 45) lightdm recommends xserver-xorg
> 46) kde-plasma-desktop recommends xserver-xorg
> 47) xfce4 recommends xorg
> 48) xinit recommends xserver-xorg | xserver
> 49) xserver-xorg-input-all recommends xserver-xorg-input-wacom
>
>
> Accept this solution? [Y/n/q/?] q
> Abandoning all efforts to resolve these dependencies.
> Abort.
>
> Any idea how I can go about this without removing all those packages.
>
> For ref :-
>
> http://release.debian.org/transitions/html/libaudit1.html
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706973

Please CC me as I'm not subscribed to the list.
-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
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/CADdDZRmWbmMq2OgzZkhLgHXAVu9ZMEheVr72FHC5OARiQf=k...@mail.gmail.com



how to remove libaudit0 and install libaudit1?

2013-09-06 Thread shirish शिरीष
Hi all,
I'm on debian-testing and recently libaudit1 entered testing and I'm
able to upgrade to it due to some issues.

See :-

$ sudo aptitude full-upgrade
The following NEW packages will be installed:
  libaudit-common{ab} libaudit1{a}
The following packages will be upgraded:
  gdm3 libpam-systemd systemd
3 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,181 kB of archives. After unpacking 181 kB will be used.
The following packages have unmet dependencies:
 libaudit-common : Breaks: libaudit0 but 1:1.7.18-1.1 is installed.
The following actions will resolve these dependencies:

  Remove the following packages:
1)  libaudit0
2)  task-desktop
3)  xorg
4)  xserver-xephyr
5)  xserver-xorg
6)  xserver-xorg-core
7)  xserver-xorg-input-all
8)  xserver-xorg-input-evdev
9)  xserver-xorg-input-mouse
10) xserver-xorg-input-synaptics
11) xserver-xorg-input-vmmouse
12) xserver-xorg-input-wacom
13) xserver-xorg-video-all
14) xserver-xorg-video-apm
15) xserver-xorg-video-ark
16) xserver-xorg-video-ati
17) xserver-xorg-video-chips
18) xserver-xorg-video-cirrus
19) xserver-xorg-video-fbdev
20) xserver-xorg-video-i128
21) xserver-xorg-video-intel
22) xserver-xorg-video-mach64
23) xserver-xorg-video-mga
24) xserver-xorg-video-neomagic
25) xserver-xorg-video-nouveau
26) xserver-xorg-video-openchrome
27) xserver-xorg-video-r128
28) xserver-xorg-video-radeon
29) xserver-xorg-video-rendition
30) xserver-xorg-video-s3
31) xserver-xorg-video-s3virge
32) xserver-xorg-video-savage
33) xserver-xorg-video-siliconmotion
34) xserver-xorg-video-sis
35) xserver-xorg-video-sisusb
36) xserver-xorg-video-tdfx
37) xserver-xorg-video-trident
38) xserver-xorg-video-tseng
39) xserver-xorg-video-vesa
40) xserver-xorg-video-vmware
41) xserver-xorg-video-voodoo

  Leave the following dependencies unresolved:
42) gdm3 recommends xserver-xephyr
43) gdm3 recommends xserver-xorg
44) kdm recommends xserver-xorg | xserver
45) lightdm recommends xserver-xorg
46) kde-plasma-desktop recommends xserver-xorg
47) xfce4 recommends xorg
48) xinit recommends xserver-xorg | xserver
49) xserver-xorg-input-all recommends xserver-xorg-input-wacom


Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

Any idea how I can go about this without removing all those packages.

For ref :-

http://release.debian.org/transitions/html/libaudit1.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706973
-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
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/CADdDZRmSQUDvzJr-CDXcaDNeBXZe2+yhr-B781TziqHo2fp=n...@mail.gmail.com



Re: Re: Re: Cannot view all my android folders in nautilus after mounting android as MTP

2013-09-06 Thread Anubhav Yadav
Have used airdroid before! I don't have a wifi connection always, and
airdroid 2 update messed the app for me! 

Anyways thanks for the help! :) 
-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
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/1378491753.5990.0.camel@Innovator



Re (2): Ownership of pluggable devices.

2013-09-06 Thread peasthope
From:   recovery...@gmail.com
Date:   Fri, 6 Sep 2013 00:34:05 +0400
> chown -R peter /home/peter/MY

... after more cogitating.  

udisks-glue is interesting but, if a device is to belong to 
one user, ownership should be set by root immediately after 
formatting.  Eg. 

mkfs.ext2 -b 4096 -L MY /dev/sdb1
mkdir 
mount /dev/sdb1 
chown -R : 
sync; sync
umount /dev/sdb1
rmdir 

With a fixed disk, the point isn't so blatant and I've managed 
to overlook it for years; or might have read years ago and forgot.

Thanks again, ... Peter E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
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/171058150.42299.22585@cantor.invalid



Re: Re (2): Ownership of pluggable devices.

2013-09-06 Thread recoverym4n
On Fri, 6 Sep 2013 08:28:23 -0700
peasth...@shaw.ca wrote:

> I've studied this note, installed udisks-glue and modified udisks-glue.conf 
> as described.  
> http://goshawknest.wordpress.com/2013/02/21/how-to-make-usb-disks-readable-by-all-users-on-raspbmc/
> 
> Also noticed this.
> root@dalton:/etc/avahi/services# ps aux | grep "udisks-daemon: p"
> root  4177  0.0  0.0   6352   412 ?SSep05   0:07 
> udisks-daemon:
> polling /dev/sr0 /dev/sdb
> /dev/sdb is the KingstonUSB; that is a good sign.

I'm not familiar with all these new fancy FreeDesktop gizmos. Still,
this part:

match disks {
 automount = true
 automount_options = { sync, noatime, "dmask=0", "fmask=0"}

Looks like mounting options (and, as I wrote before, tinkering with them
is useless), but this:

 post_insertion_command = "udisks --set-spindown %
device_file --spindown-timeout 1800 --mount %device_file
--mount-options sync,noatime,dmask=0,fmask=0" }

Probably allows insertion of arbitrary command (maybe several), which
will be invoked with root privileges.

IMO, insert chown here, and you're set.


> Nevertheless, if root starts udisks-glue and then the 
> KingstonUSB is plugged, access is again restricted to root as described 
> previously.  
> So I have at least one snag somewhere.

Hmm. In that blog they run udisks-glue with root privileges too.

> Once that is solved, I might invent an /etc/init.d/udisks-glue-start-script.
> 
> Also, 
> * From: Gregory Nowak 
> * Date: Thu, 5 Sep 2013 20:07:44 -0700
> > ... don't remember a situation where I had to do chown like this after 
> > every mount.
> 
> Might this involve the replacement of hal with u*; still in progress.

YMMV, but I'd never use chown for this purpose. Besides, I haven't
meant you should run chown on each mount, running chown once should be
more than enough.

Reco


-- 
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/20130906204627.20634b96677ef922c935c...@gmail.com



Re (2): Ownership of pluggable devices.

2013-09-06 Thread peasthope
From:   recovery...@gmail.com
Date:   Fri, 6 Sep 2013 00:34:05 +0400
> > /dev/KingstonUSB  /home/peter/MY   ext2  defaults,noauto,user  0   0
> 
> This line is the reason.
>   ...

Thanks for the detailed explanation.

I've studied this note, installed udisks-glue and modified udisks-glue.conf 
as described.  
http://goshawknest.wordpress.com/2013/02/21/how-to-make-usb-disks-readable-by-all-users-on-raspbmc/

Also noticed this.
root@dalton:/etc/avahi/services# ps aux | grep "udisks-daemon: p"
root  4177  0.0  0.0   6352   412 ?SSep05   0:07 udisks-daemon:
polling /dev/sr0 /dev/sdb
/dev/sdb is the KingstonUSB; that is a good sign.

Nevertheless, if root starts udisks-glue and then the 
KingstonUSB is plugged, access is again restricted to root as described 
previously.  
So I have at least one snag somewhere.

Once that is solved, I might invent an /etc/init.d/udisks-glue-start-script.

Also, 
*   From: Gregory Nowak 
*   Date: Thu, 5 Sep 2013 20:07:44 -0700
> ... don't remember a situation where I had to do chown like this after every 
> mount.

Might this involve the replacement of hal with u*; still in progress.

Thanks for the replies,  ... Peter E.



-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
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/171058150.34583.22584@cantor.invalid



Re: Ownership of pluggable devices.

2013-09-06 Thread recoverym4n
On Thu, 5 Sep 2013 20:07:44 -0700
Gregory Nowak  wrote:

> On Fri, Sep 06, 2013 at 12:34:05AM +0400, recovery...@gmail.com wrote:
> > In short, invoke (after mounting the filesystem):
> > 
> > chown -R peter /home/peter/MY
> 
> I do stand to be corrected, but I don't remember a situation where I
> had to do chown like this after every mount. All I've ever had to do
> in these situations is to mkdir /home/user/MY, mount /home/user/MY,
> and chown user.user /home/user/MY. After each subsequent mount, user
> could read/write /home/user/MY with no issues, and without using chown
> every time after mount.
> 

 Hi.

Take two different hosts, make user with the same name, but different
uids on those hosts.

Take USB stick, format it as ext2 (any filesystem keeping file
permissions will do, actually).

Now, move some files with this USB stick between hosts.

This is exactly the situation that requires chown-after-mount unless
you have root on both hosts.

Reco


-- 
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/20130906192846.eb3f8209e39d4b01d6800...@gmail.com



Re: Re: Cannot view all my android folders in nautilus after mounting android as MTP

2013-09-06 Thread Chris Bannister
On Thu, Sep 05, 2013 at 04:04:37PM +0530, Anubhav Yadav wrote:
> Tried gmtp, it wont seem to work. I think I need to do some tweaks on my
> mobile side, maybe need to root it and install some files. (saying this
> after reading some posts on the nexus threads on xda-developers) 

I've just had a play with AirDroid, and it works great! I highly
recommend it. 

AirDroid is available at the googleplay store.

-- 
"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/20130906152424.GA2558@tal



Re: Re: tri-boot debian, debian-without-dm, and windows with newer debian using partitions from older debian?

2013-09-06 Thread Tom H
On Thu, Sep 5, 2013 at 10:10 PM, Gregory Nowak  wrote:
> On Thu, Sep 05, 2013 at 03:55:51PM +0530, Anubhav Yadav wrote:
>
> This was already mentioned. The answer is ctrl+alt+f1 through
> ctrl+alt+f6 by default. Let me clarify. Unlike in some other
> distributions (slackware comes to mind), there is no such thing as
> booting into text mode, since gdm starts up in run levels 2-5, as do
> your six text consoles by default. So, you actually have both the
> graphical environment and text mode available to you at the same
> time. The only way to have truly text mode would be either to disable
> gdm and start x through running startx, or uninstall the graphical
> desktop totally. Since both text and graphical modes are available to
> you anyway, there is no reason to do that if you just want to work at
> a text console. For the sake of completeness, I will mention run level
> 1 which is text mode in a single console. You don't want to stay in
> run level one all the time for everyday use though. Kind of drawn out,
> but it hopefully clears things up. In a nutshell, there's no such thing as 
> text
> mode in debian.

If you append "text" to the kernel commandline, you'll boot into text
mode, similar to an RH-based runlevel 3.


-- 
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/CAOdo=swh+b94p8fh3b7q_hghzw-h0-r5s7embb2nwedzedo...@mail.gmail.com



Re: ip tuntap del

2013-09-06 Thread Tom H
On Fri, Sep 6, 2013 at 7:14 AM, Zenaan Harkness  wrote:


> Anyone know why ip tuntap del requires the "mode"?
>
> # ifconfig tapz
> tapz: error fetching interface information: Device not found
> # ip tuntap add mode tap tapz
> # ifconfig tapz
> tapz  Link encap:Ethernet  HWaddr 06:b8:f7:41:bf:08
>   BROADCAST MULTICAST  MTU:1500  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:500
>   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> # ip tuntap del tapz
> ioctl(TUNSETIFF): Invalid argument
> # ifconfig tapz
> tapz  Link encap:Ethernet  HWaddr 06:b8:f7:41:bf:08
>   BROADCAST MULTICAST  MTU:1500  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:500
>   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> # ip tuntap del mode tap tapz
> # ifconfig tapz
> tapz: error fetching interface information: Device not found
>
> We see that when deleting a tap device, we still have to include the
> mode. From a user perspective that ought to be superfluous. Perhaps it
> is some kernel driver optimization thing, which has not bee papered
> over by ip command. A minor point in the scheme of things I guess.
>
> So could the Usage output be made a little more accurate (possibly
> not, without duplicating it for each of add and del subcommands):
>
> # ip tuntap help
> Usage: ip tuntap { add | del } [ dev PHYS_DEV ]
>   [ mode { tun | tap } ] [ user USER ] [ group GROUP ]
>   [ one_queue ] [ pi ] [ vnet_hdr ]
>
> Where: USER  := { STRING | NUMBER }
>GROUP := { STRING | NUMBER }

I came across this a while ago and meant to file a bug report because
the "usage" output doesn't correspond to the actual usage - and
didn't... :(



> Also, how can I find out what one_queue, pi and vnet_hdr options could be?

>From some very terse notes that I'd made (I mustn't have found much
via Google...):

one_queue: by default tuntap uses multiple queues (descriptors) to
parallelize the sending or receiving of packets

pi: provide packet information (default!)

vnet_hdr: allow sending and receiving large packets because tuntap is
in the kernel


-- 
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/CAOdo=swo_6qxsfcfl5mltipxfnfd+yjpb9+djrpg8hyqyx6...@mail.gmail.com



Re: Installing and booting Debian from large hard drives in a RAID without GPT

2013-09-06 Thread Shane Johnson
On Fri, Sep 6, 2013 at 6:45 AM, Darac Marjal wrote:

> On Fri, Sep 06, 2013 at 02:29:55PM +0200, Robin Kipp wrote:
> > Hi list,
> > I just purchased an HP ProLiant Micro Server G2020T. As for the hard
> drives, I installed 4 3TB Western Digital HDs. So far so good, but volumes
> with a capacity greater than 2TB require a GPT partition table.
> Unfortunately, the server does not support UEFI, and thus can't boot from
> GPT partitions natively.
> > So, when I ran the Debian installer, I used the following partitioning
> scheme on all drives since I wanted to combine them in a software RAID:
> >
> > 1MB BIOS Boot Partition (BBP) for GRUB
> > 512MB dedicated /boot partition
> > partition with all the remaining disk space.
> >
> > I then proceeded to setup software RAID:
> > no RAID on the 1MB BIOS boot partition (not sure if this is correct)
> > RAID1 for the 512MB /boot partition including all the HDs.
> > RAID5 for the large partition that remained for file storage.
> > I then set up the /boot partition (/dev/md0) to contain an EXT3 file
> system and also configured the mount point to be / boot.
> > For the large partition, I setup LVM and created logical volumes for the
> root and SWAP partition. I also configured those partitions accordingly so
> the installer would know how to use them.
> > Once I finished, the installation went through without any problems.
> After the system was installed, I used the 'Install the GRUB boot loader'
> option to install GRUB on all HDS (/dev/sda through /dev/sdd), which worked
> just fine.
> > However, when I rebooted the system I got an error message saying the
> root file system could not be mounted. I suspected the LVM to cause issues,
> so I re-installed everything but this time without LVM. Unfortunately, the
> same issue persists… Has anyone here ever been in a similar situation and
> could suggest a fix? I have a feeling I may be missing something important,
> but just can't find the right path to take…
>
> If you're getting an error saying root couldn't be mounted then I'm
> assuming that:
>  - BIOS has found GRUB
>  - GRUB has found the kernel
>  - the kernel has booted BUT
>  - the kernel couldn't find the rootfs, so therefore couldn't start init
>
> If that's the case, try adding "rootdelay=30" to your kernel command
> line (the best way is to append it to GRUB_CMDLINE_LINUX in
> /etc/default/grub and re-run update-grub", but you can temporarily add
> it at grub's command line editor).
>
> "rootdelay" should cause the kernel to wait a few moments for all drives
> to become ready, the raid to assemble and so on, before it tries to
> mount rootfs.
>
>
I have had problems with the initrd not having the LVM modules loaded in
it.  I had to make sure LVM was installed then run:

update-initramfs -u -k all

then :

update-grub

to get it to play nice with the system.  Other than that I would just make
sure your /etc/fstab file is correct.



-- 
Shane D. Johnson
IT Administrator
Rasmussen Equipment


Re: How many packages in Sid

2013-09-06 Thread Andreas Rönnquist
On Thu, 5 Sep 2013 22:06:46 +0100,
Brian wrote:

>On Thu 05 Sep 2013 at 22:16:39 +0200, sp113438 wrote:
>
>> How do I find out the number of packages currently in Sid?
>> Google did not help me.
>
>An example:
>
>  wget
> ftp://ftp.debian.org/debian/dists/sid/main/binary-i386/Packages.gz
>
>  gunzip Packages.gz
>
>  grep ^Package: Packages | wc -l
>
>

Nice!
For fun I put together the attached perl script which can check this in
a nice way - it does need some work though, it checks i386 only as it
is, but can easily be modified to check other architectures.

Also, I have removed most output, it downloads the gz, which can take
some time if you don't have broadband.

-- Andreas Rönnquist
mailingli...@gusnan.se
gus...@gusnan.se


count_packages
Description: Binary data


Re: rename ttyS*

2013-09-06 Thread Josh Stephens


Sent from my iPhone

On Sep 6, 2013, at 7:50 AM, co...@esid.gecgr.co.cu wrote:

> 
> 
> Hi
> 
> I have problem with my serial port
> 
> With dmseg | grep tty
> 
> [0.004000] console [tty0] enabled
> [1.769854] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [1.770070] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [1.772842] :02:02.0: ttyS2 at I/O 0x9400 (irq = 9) is a 16550A
> [1.773360] :02:02.1: ttyS3 at I/O 0x9800 (irq = 9) is a 16550A
> 
> 
> How do change
> 
> [1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> 
> to
> 
> [1.770721] 00:09: ttyS4 at I/O 0x3f8 (irq = 4) is a 16550A
> [1.771023] 00:0a: ttyS5 at I/O 0x2f8 (irq = 3) is a 16550A
> 
> It posible resolve with setserial ???
> 
> Any example??
> 
> please someone to help me
> 

You could look at using a udev rule to do the mapping for 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/06772cc8-eca1-404f-a97b-d3d800086...@gmail.com



rename ttyS*

2013-09-06 Thread cosme


 Hi

I have problem with my serial port

With dmseg | grep tty

[0.004000] console [tty0] enabled
[1.769854] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[1.770070] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[1.772842] :02:02.0: ttyS2 at I/O 0x9400 (irq = 9) is a 16550A
[1.773360] :02:02.1: ttyS3 at I/O 0x9800 (irq = 9) is a 16550A


How do change

[1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

to

[1.770721] 00:09: ttyS4 at I/O 0x3f8 (irq = 4) is a 16550A
[1.771023] 00:0a: ttyS5 at I/O 0x2f8 (irq = 3) is a 16550A

It posible resolve with setserial ???

Any example??

please someone to help me

Sorry my english is not good


Regards











--
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/ce05ef76bddd99048839ff6f9a503f00.squirrel@192.168.13.16



Re: Installing and booting Debian from large hard drives in a RAID without GPT

2013-09-06 Thread Darac Marjal
On Fri, Sep 06, 2013 at 02:29:55PM +0200, Robin Kipp wrote:
> Hi list,
> I just purchased an HP ProLiant Micro Server G2020T. As for the hard drives, 
> I installed 4 3TB Western Digital HDs. So far so good, but volumes with a 
> capacity greater than 2TB require a GPT partition table. Unfortunately, the 
> server does not support UEFI, and thus can't boot from GPT partitions 
> natively.
> So, when I ran the Debian installer, I used the following partitioning scheme 
> on all drives since I wanted to combine them in a software RAID:
> 
> 1MB BIOS Boot Partition (BBP) for GRUB
> 512MB dedicated /boot partition
> partition with all the remaining disk space.
> 
> I then proceeded to setup software RAID:
> no RAID on the 1MB BIOS boot partition (not sure if this is correct)
> RAID1 for the 512MB /boot partition including all the HDs.
> RAID5 for the large partition that remained for file storage.
> I then set up the /boot partition (/dev/md0) to contain an EXT3 file system 
> and also configured the mount point to be / boot.
> For the large partition, I setup LVM and created logical volumes for the root 
> and SWAP partition. I also configured those partitions accordingly so the 
> installer would know how to use them.
> Once I finished, the installation went through without any problems. After 
> the system was installed, I used the 'Install the GRUB boot loader' option to 
> install GRUB on all HDS (/dev/sda through /dev/sdd), which worked just fine.
> However, when I rebooted the system I got an error message saying the root 
> file system could not be mounted. I suspected the LVM to cause issues, so I 
> re-installed everything but this time without LVM. Unfortunately, the same 
> issue persists… Has anyone here ever been in a similar situation and could 
> suggest a fix? I have a feeling I may be missing something important, but 
> just can't find the right path to take…

If you're getting an error saying root couldn't be mounted then I'm
assuming that:
 - BIOS has found GRUB
 - GRUB has found the kernel
 - the kernel has booted BUT
 - the kernel couldn't find the rootfs, so therefore couldn't start init

If that's the case, try adding "rootdelay=30" to your kernel command
line (the best way is to append it to GRUB_CMDLINE_LINUX in
/etc/default/grub and re-run update-grub", but you can temporarily add
it at grub's command line editor).

"rootdelay" should cause the kernel to wait a few moments for all drives
to become ready, the raid to assemble and so on, before it tries to
mount rootfs.



signature.asc
Description: Digital signature


Installing and booting Debian from large hard drives in a RAID without GPT

2013-09-06 Thread Robin Kipp
Hi list,
I just purchased an HP ProLiant Micro Server G2020T. As for the hard drives, I 
installed 4 3TB Western Digital HDs. So far so good, but volumes with a 
capacity greater than 2TB require a GPT partition table. Unfortunately, the 
server does not support UEFI, and thus can't boot from GPT partitions natively.
So, when I ran the Debian installer, I used the following partitioning scheme 
on all drives since I wanted to combine them in a software RAID:

1MB BIOS Boot Partition (BBP) for GRUB
512MB dedicated /boot partition
partition with all the remaining disk space.

I then proceeded to setup software RAID:
no RAID on the 1MB BIOS boot partition (not sure if this is correct)
RAID1 for the 512MB /boot partition including all the HDs.
RAID5 for the large partition that remained for file storage.
I then set up the /boot partition (/dev/md0) to contain an EXT3 file system and 
also configured the mount point to be / boot.
For the large partition, I setup LVM and created logical volumes for the root 
and SWAP partition. I also configured those partitions accordingly so the 
installer would know how to use them.
Once I finished, the installation went through without any problems. After the 
system was installed, I used the 'Install the GRUB boot loader' option to 
install GRUB on all HDS (/dev/sda through /dev/sdd), which worked just fine.
However, when I rebooted the system I got an error message saying the root file 
system could not be mounted. I suspected the LVM to cause issues, so I 
re-installed everything but this time without LVM. Unfortunately, the same 
issue persists… Has anyone here ever been in a similar situation and could 
suggest a fix? I have a feeling I may be missing something important, but just 
can't find the right path to take…
Thanks a lot for any help / ideas!
Robin

--
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/893c7264-bc42-4153-941a-16a0357a1...@robin-kipp.net



ip tuntap del

2013-09-06 Thread Zenaan Harkness
Anyone know why ip tuntap del requires the "mode"?

# ifconfig tapz
tapz: error fetching interface information: Device not found
# ip tuntap add mode tap tapz
# ifconfig tapz
tapz  Link encap:Ethernet  HWaddr 06:b8:f7:41:bf:08
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# ip tuntap del tapz
ioctl(TUNSETIFF): Invalid argument
# ifconfig tapz
tapz  Link encap:Ethernet  HWaddr 06:b8:f7:41:bf:08
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:500
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# ip tuntap del mode tap tapz
# ifconfig tapz
tapz: error fetching interface information: Device not found

We see that when deleting a tap device, we still have to include the
mode. From a user perspective that ought to be superfluous. Perhaps it
is some kernel driver optimization thing, which has not bee papered
over by ip command. A minor point in the scheme of things I guess.

So could the Usage output be made a little more accurate (possibly
not, without duplicating it for each of add and del subcommands):

# ip tuntap help
Usage: ip tuntap { add | del } [ dev PHYS_DEV ]
  [ mode { tun | tap } ] [ user USER ] [ group GROUP ]
  [ one_queue ] [ pi ] [ vnet_hdr ]

Where: USER  := { STRING | NUMBER }
   GROUP := { STRING | NUMBER }

Also, how can I find out what one_queue, pi and vnet_hdr options could be?

I am wondering if this interface of command "ip" could be made more
discoverable for users like myself, and how to go about 'suggesting'
that in an appropriate way?

TIA
Zenaan


-- 
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/CAOsGNSTAETNBGBcVLV+nabrOPHyZDa=hbfgdgyszxsytr9l...@mail.gmail.com



dell latitude D531 and suspend

2013-09-06 Thread François Patte
Bonjour,

I installed debian wheezy on dell latitude D531 laptop and I can't
resume from suspend (black screen) and the system seems to be
froozen...: fan goes on... I have to switch off the computer..


Is there a (known) solution?

There were no problme with a previous fedora installation.

Thanks for attention

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte



signature.asc
Description: OpenPGP digital signature


Re: How many packages in Sid

2013-09-06 Thread Onur Aslan
I think best way to do this install sid and run:

$ apt-cache stats
Total package names: 52060 (1,041 k)
Total package structures: 52060 (2,915 k)
  Normal packages: 40012
  Pure virtual packages: 406
  Single virtual packages: 4720
  Mixed virtual packages: 773
  Missing: 6149
Total distinct versions: 40977 (2,950 k)
Total distinct descriptions: 81639 (1,959 k)
Total dependencies: 252183 (7,061 k)
Total ver/file relations: 41923 (1,006 k)
Total Desc/File relations: 81639 (1,959 k)
Total Provides mappings: 7882 (158 k)
Total globbed strings: 138 (1,545 )
Total dependency version space: 998 k
Total slack space: 26.3 k
Total space accounted for: 14.1 M

On Thu, Sep 05, 2013 at 22:16:39 +0200, sp113438 wrote:
> Hello,
> 
> How do I find out the number of packages currently in Sid?
> Google did not help me.
>  
> Thanks!
> 
> 
> -- 
> 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/20130905221639.79bc09b4@fx4100
> 


-- 
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/20130906091256.ga22...@ev.onur.im



Re: gwenview

2013-09-06 Thread Tim Ruehsen
I use digikam at home and had similar problems with one of the childs cameras.
I hardly remember but I think I needed mtp-tools to be installed installed.

But newer digikam/gphoto2 should support PTP directly.
If this doesn't help, try a search machine. If that still does not help, I 
could ask my kids (when I see them :-).

Mit freundlichem Gruß

  Tim Rühsen

On Wednesday 04 September 2013 14:59:46 François Patte wrote:
> Le 04/09/2013 14:14, Paul Cartwright a écrit :
> > On 09/04/2013 06:24 AM, François Patte wrote:
> >> It seems to be unable to deal with ptp protocol... So I can't import
> >> photos from a camera.. Sigh!
> > 
> > can you not go to the file manager and  copy the photos from your camera?
> > In File manager I see my Samsung Galaxy S3, go to the folder-
> > Card-DCIM-Camera and there are all my photos..
> 
> Not thunar file manager...
> 
> Is you camera seen as a mass storage device? Nikon coolpix has only ptp
> protocol on usb port...


--
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/2778239.IDj4Gm7AJy@blitz-lx



Re: NFS in schroot/sbuild

2013-09-06 Thread Khaled Blah
On 04.09.2013 17:16, Chris Bannister wrote:
> On Wed, Sep 04, 2013 at 02:42:44PM +0200, Khaled Blah wrote:
>> Hi all,
>>
>> I'd like to mount an NFS mount point into a schroot session. I
>> understand I need to edit /etc/schroot/sbuild/fstab on the host to do so
>> but all my attempts so far failed. Does anyone here know how it can be done?
> 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> IOW, what alterations did you make?
> What did you expect to happen and what actually did happen?
> Please include any error and syslog messages relevant to the problem.
> 

Hi Chris,

thanks for your reply. However, there is no error message or log that I
could provide. What I expect is to see the NFS resource being mounted
into my schroot environment but what I see is that it is not being
mounted. There is no error message for this. So, as you can see, I have
provided as much information as possible at this point. So if somebody
has hints in regard to my original question, please let me know.

Regards,

-- 
Khaled Blah
System Administrator, Mara Systems (www.marasystems.de)
Bismarckstr. 24
66111 Saarbruecken
GERMANY


-- 
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/522985de.2050...@marasystems.de