Re: installation issue package krb5-users (unmet dependencies)

2015-07-29 Thread Muhammad Yousuf Khan
Ok  i found out the issue. worked with aptitude command.

Thanks,


On Wed, Jul 29, 2015 at 10:09 AM, Muhammad Yousuf Khan 
wrote:

> when i am installing the package it is throwing this issue. and i want to
> install krb5-user for samba.
> any help will be highly appreciated.
>
>
> oot@nas:~# apt-get install krb5-user
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  krb5-user : Depends: libkrb5-3 (= 1.8.3+dfsg-4squeeze7) but
> 1.10.1+dfsg-5+deb7u2 is to be installed
> E: Broken packages
>
>


Re: Help - 13-year Debian veteran can't install Jessie

2015-07-29 Thread Lisi Reisz
On Wednesday 29 July 2015 01:32:15 Joel Rees wrote:
> companies catering to consumers
> who like free beer and ignoring consumers who like their toys entirely
> free of beer.

:-)

Lisi


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



mdadm increasing the partition size.

2015-07-29 Thread Muhammad Yousuf Khan
Dear All,

I have 4 partitions in my /dev/sdb total size of a whole drive is 2 TB in
where main partition is of 1TB in size.

however i want to increase this 1TB partition. therefore i added new 3TB
/dev/sda and replicated the partition tables with with gdisk.

which worked great.

now the partition that was in the size of 1TB and copied to the new drive
/dev/sda i deleted the partition. and created the new one with increase
size of 2TB.

now i have also attached sda 2TB partition with sdb 1TB partition. sync is
in progress which will probably be synced in few hours.



My question is if i add another new 3TB drive by replace the old 2TB drive.
similarly i copy the partition table from gdisk from old 3TB to now 3TB.
but point of notice is now the size of 1TB partition should become 2TB. do
you guys think this will happen automatically or i have to make some
changes in order to grow the size.

Any help/guidance will be highly appreciated.

Thank,
Yousuf


RE: cups/cups-browsed: only advertise online network printers

2015-07-29 Thread Tuxo Holic
Thanks Brian and Jochen for the efforts, but switching off services to remove 
the queue and end up with no advertised printer is not an option as well.

So the main goal I was aiming at seems to be not available which was: give 
notification to the user, that this network printer is switched off or out of 
service due to maintenance, paper jam or what other reason you could think of.  
 

Re: mdadm increasing the partition size.

2015-07-29 Thread Gary Dale

On 29/07/15 06:30 AM, Muhammad Yousuf Khan wrote:

Dear All,

I have 4 partitions in my /dev/sdb total size of a whole drive is 2 TB 
in where main partition is of 1TB in size.


however i want to increase this 1TB partition. therefore i added new 
3TB /dev/sda and replicated the partition tables with with gdisk.


which worked great.

now the partition that was in the size of 1TB and copied to the new 
drive /dev/sda i deleted the partition. and created the new one with 
increase size of 2TB.


now i have also attached sda 2TB partition with sdb 1TB partition. 
sync is in progress which will probably be synced in few hours.




My question is if i add another new 3TB drive by replace the old 2TB 
drive. similarly i copy the partition table from gdisk from old 3TB to 
now 3TB. but point of notice is now the size of 1TB partition should 
become 2TB. do you guys think this will happen automatically or i have 
to make some changes in order to grow the size.


Any help/guidance will be highly appreciated.

Thank,
Yousuf


I'm having difficulty understanding the problem. I think you were saying 
that you had a 1T RAID1 partition created from 2 x 1T partitions on 2 x 
2T drives. You've replaced one drive with a larger one and made the 
partition used in the RAID array larger. You now want to do the same 
with the other drive.


Once the second drive is replaced your RAID1 array will still appear to 
be 1T in size. However it will appear to be on a 2T device. You need to 
resize the array to use the available space then you need to resize the 
file system on it since it will still think it is only 1T.



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

Archive: https://lists.debian.org/55b8cf07.9090...@torfree.net



Re: mdadm increasing the partition size.

2015-07-29 Thread Gene Heskett
On Wednesday 29 July 2015 06:30:46 Muhammad Yousuf Khan wrote:

> Dear All,
>
> I have 4 partitions in my /dev/sdb total size of a whole drive is 2 TB
> in where main partition is of 1TB in size.
>
> however i want to increase this 1TB partition. therefore i added new
> 3TB /dev/sda and replicated the partition tables with with gdisk.
>
> which worked great.
>
> now the partition that was in the size of 1TB and copied to the new
> drive /dev/sda i deleted the partition. and created the new one with
> increase size of 2TB.
>
> now i have also attached sda 2TB partition with sdb 1TB partition.
> sync is in progress which will probably be synced in few hours.
>
>
>
> My question is if i add another new 3TB drive by replace the old 2TB
> drive. similarly i copy the partition table from gdisk from old 3TB to
> now 3TB. but point of notice is now the size of 1TB partition should
> become 2TB. do you guys think this will happen automatically or i have
> to make some changes in order to grow the size.
>
> Any help/guidance will be highly appreciated.

You will have to do that by hand.
>
> Thank,
> Yousuf


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201507290934.01962.ghesk...@wdtv.com



Re: cups/cups-browsed: only advertise online network printers

2015-07-29 Thread David Wright
Quoting Tuxo Holic (tuxoho...@hotmail.de):
> Thanks Brian and Jochen for the efforts, but switching off services to remove
> the queue and end up with no advertised printer is not an option as well. So
> the main goal I was aiming at seems to be not available which was: give
> notification to the user, that this network printer is switched off or out of
> service due to maintenance, paper jam or what other reason you could think of.

I can only think of 4 notification methods, but perhaps others can
come up with better ones:

wallinstantaneous, ephemeral and local
email   instantaneous, persistent and potentially global
/etc/motd   displayed at login but, after that, would need to be checked
/etc/issue  displayed before login but, after that, would need to be checked

Personally I always print through scripts which makes the problem
trivial, but I understand this is not everyone's way of working..

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150729143340.GA31665@alum



Re: cups/cups-browsed: only advertise online network printers

2015-07-29 Thread Brian
On Wed 29 Jul 2015 at 14:21:20 +0200, Tuxo Holic wrote:

> Thanks Brian and Jochen for the efforts, but switching off services to
> remove the queue and end up with no advertised printer is not an
> option as well.

So you want the printer to be advertised. In your first mail you said:

  I'd prefer network printers to be invisible on the client side, as
  long as they are not online.

Now you want them visible. Why?
 
> So the main goal I was aiming at seems to be not available which was:
> give notification to the user, that this network printer is switched
> off or out of service due to maintenance, paper jam or what other
> reason you could think of.

Adapt the script to do

  cupsreject -r "PrinterSwitchedOff" HP_LaserJet_1020

Tested successfully on a client not running cups, which was something
else you were interested in. 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150729145916.ga1...@copernicus.demon.co.uk



post-up in interfaces doesn't work

2015-07-29 Thread Mojtaba
Hello
I have a brand new jessie setup in a KVM VPS.
The server is in OVH network which needs manual routing applied.
However the post-up and setting in the /etc/network/interfaces is not executed
This is my interfaces file

auto eth0
iface eth0 inet static
address 198.50.210.32
netmask 255.255.255.255
broadcast   198.50.210.32
#gateway192.99.39.254
post-up route add 192.99.39.254 dev eth0
post-up route add default gw 192.99.39.254
post-down route del 192.99.39.254 dev eth0
post-down route del default gw 192.99.39.254

I've tried a simple 'echo working > /testfile.txt' line but the
post-up or pre-up is not executed
Is there anything I'm missing?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cahtnztdlvy7ydig3u5pofojq3rhvdcrdft0ujkvqwu-ao+s...@mail.gmail.com



eth0 : no such device

2015-07-29 Thread Diogene Laerce
Hi,

I have big issues recently with debian that I don't understand, maybe
someone could help on the matter ?

First, debian does not want to give me any network. I really say debian
because I have 3 possibilities to run the OS : 2 USB sticks and a PC
tower, all
on wheezy, which worked fine til they do not for no reason.

The one USB stick which does boot and run says, when /ifconfig eth0 up/ :

eth0: ERROR while getting interface flags: no such device

The other stick now even doesn't want to start X (but that I guess is not
related, surely USB stick issue).

And the tower.. I had to install fedora because it didn't want to mount my
home during installation - which was a new 1To disk to format, even after
formatted it which gparted. Plus the unavailable network issue of course,
also during installation.

These network issues only happen with debian as I could install fedora with
no issue at all : it took care of my home and found the network without
raising
any flag.

Any idea ?

Thank you,

-- 
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

  Diogene Laerce







signature.asc
Description: OpenPGP digital signature


Re: post-up in interfaces doesn't work

2015-07-29 Thread Johan Grip
On 29/07/15 18:06, Mojtaba wrote:
> Hello
> I have a brand new jessie setup in a KVM VPS.
> The server is in OVH network which needs manual routing applied.
> However the post-up and setting in the /etc/network/interfaces is not executed
> This is my interfaces file
> 
> auto eth0
> iface eth0 inet static
> address 198.50.210.32
> netmask 255.255.255.255
> broadcast   198.50.210.32
> #gateway192.99.39.254
> post-up route add 192.99.39.254 dev eth0
> post-up route add default gw 192.99.39.254
> post-down route del 192.99.39.254 dev eth0
> post-down route del default gw 192.99.39.254
> 
> I've tried a simple 'echo working > /testfile.txt' line but the
> post-up or pre-up is not executed
> Is there anything I'm missing?
> 
> Thanks
> 
> 

The following config should do the same but without the post-up/down
statements:

auto eth0
iface eth0 inet static
address 198.50.210.32
netmask 255.255.255.255
pointopoint 192.99.39.254
gateway 192.99.39.254

(Do note the spelling of pointopoint)

As to why the post-* commands doesn't run, I have no idea.

Regards,
  Johan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55b9129e.80...@ogun.org



Re: eth0 : no such device

2015-07-29 Thread MENGUAL Jean-Philippe

Hi,

What's the result of dmesg? In particular: dmesg|grep .fw? Maybe you 
need some firmware?


Eave you checked from lspci -n if the module of the kernel is the 
correct one?


Regards,

Le 29/07/2015 19:09, Diogene Laerce a écrit :

Hi,

I have big issues recently with debian that I don't understand, maybe
someone could help on the matter ?

First, debian does not want to give me any network. I really say debian
because I have 3 possibilities to run the OS : 2 USB sticks and a PC
tower, all
on wheezy, which worked fine til they do not for no reason.

The one USB stick which does boot and run says, when /ifconfig eth0 up/ :

 eth0: ERROR while getting interface flags: no such device

The other stick now even doesn't want to start X (but that I guess is not
related, surely USB stick issue).

And the tower.. I had to install fedora because it didn't want to mount my
home during installation - which was a new 1To disk to format, even after
formatted it which gparted. Plus the unavailable network issue of course,
also during installation.

These network issues only happen with debian as I could install fedora with
no issue at all : it took care of my home and found the network without
raising
any flag.

Any idea ?

Thank you,




--

Jean-Philippe MENGUAL

HYPRA, progressons ensemble

Tél.: 01 84 73 06 61
Mail: cont...@hypra.fr

Site Web: http://hypra.fr


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

Archive: https://lists.debian.org/55b91d6b.20...@free.fr



Re: Zip Drive not Recognized as Block Device

2015-07-29 Thread Grace Penton



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/f76a4226-161e-4dca-8374-d66811864...@yahoo.co.uk



Re: mdadm increasing the partition size.

2015-07-29 Thread Muhammad Yousuf Khan
Thanks Gene and Gary and yes you got it correctly.

Two steps resolved my issue. (AH) in case other may need help with
same issue can follow.

1- mdadm -G /dev/md(*) -z max
2- resize2fs /dev/md(*)




On Wed, Jul 29, 2015 at 6:34 PM, Gene Heskett  wrote:

> On Wednesday 29 July 2015 06:30:46 Muhammad Yousuf Khan wrote:
>
> > Dear All,
> >
> > I have 4 partitions in my /dev/sdb total size of a whole drive is 2 TB
> > in where main partition is of 1TB in size.
> >
> > however i want to increase this 1TB partition. therefore i added new
> > 3TB /dev/sda and replicated the partition tables with with gdisk.
> >
> > which worked great.
> >
> > now the partition that was in the size of 1TB and copied to the new
> > drive /dev/sda i deleted the partition. and created the new one with
> > increase size of 2TB.
> >
> > now i have also attached sda 2TB partition with sdb 1TB partition.
> > sync is in progress which will probably be synced in few hours.
> >
> >
> >
> > My question is if i add another new 3TB drive by replace the old 2TB
> > drive. similarly i copy the partition table from gdisk from old 3TB to
> > now 3TB. but point of notice is now the size of 1TB partition should
> > become 2TB. do you guys think this will happen automatically or i have
> > to make some changes in order to grow the size.
> >
> > Any help/guidance will be highly appreciated.
>
> You will have to do that by hand.
> >
> > Thank,
> > Yousuf
>
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/201507290934.01962.ghesk...@wdtv.com
>
>