Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Gregory Nowak
On Thu, Oct 10, 2013 at 11:10:16PM -0500, John W. Foster wrote:
> I suppose I should have asked a more precise question. Thanks to all of
> you that offered suggestions;
> I think the real issue with what I need to do is that I do indeed want
> to know if there is a "debian" way to completely purge all files
> installed by an application. Currently for example evolution 'hides' its
> dot files somewhere other that a simple .evolution. I wanted to try to
> get it reinstalled with a completely clean setup & no way to do so.

Ok, those dot files that evolution creates are probably ending up
under $HOME somewhere. That's my guess anyway. Since those files
weren't created by evolution when it was installed, but were created
when you ran evolution, they would be considered userspace files. As
the discussion here pointed out, apt-get purge won't get rid of them
for you. If there is a way to get rid of those userspace files other
than a manual hunt/delete, I don't know what that is. Good luck.

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



Re: which MTA to choose for a simple client?

2013-10-10 Thread Jochen Spieker
Celejar:
> On Wed, 9 Oct 2013 11:08:41 +0200
> Jochen Spieker  wrote:
> 
>> (BTW, I had assumed fetchmail was dead while getmail is alive. It is
>> actually the other way round!)
> 
> Not exactly sure what you mean here, but getmail looks alive to me - the
> latest version was released less than two months ago:

Sorry, you are right. Getmail is alive as well. I simply deduced my
assumption from the copyright notice on
http://pyropus.ca/software/getmail/. It still says 1998-2009.

J.
-- 
I am getting worse rather than better.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread John W. Foster
On Wed, 2013-10-09 at 11:21 -0500, John W. Foster wrote: 
> I want to know if there is a way to use reinstall with some command to
> overwrite all the existing configs using the dist configs. I want a
> complete new installation with no modifications. I have tried this but
> so far apt uses the existing configs. I end up with a non working
> server. I had this same issue with apache and evolution. Seem like I
> should be able to specify this at setup.
> Thanks
> john
> 
> 

I suppose I should have asked a more precise question. Thanks to all of
you that offered suggestions;
I think the real issue with what I need to do is that I do indeed want
to know if there is a "debian" way to completely purge all files
installed by an application. Currently for example evolution 'hides' its
dot files somewhere other that a simple .evolution. I wanted to try to
get it reinstalled with a completely clean setup & no way to do so. I
stripped every reference to evolution from the entire file system,
purged the application as you suggested in your references, and
reinstalled it. Well guess what, all the old stuff was still there and
it still doesn't work properly. FWIW: all these issues were generated
when I upgraded from squeeze to wheezy & the system is wonky on several
fronts. I did a NEW installation of wheezy on another system & it has
none of these issues. As soon as I get my server moved to a remote site,
I'm gonna flatten the drive & start over with a new installation.
Thanks for the assist, anyway.
John


-- 
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/1381464616.12885.8.ca...@beast.johnwfoster.com



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Jerry Stuckle

On 10/10/2013 5:23 PM, berenger.mo...@neutralite.org wrote:



Le 10.10.2013 21:59, Jerry Stuckle a écrit :

On 10/10/2013 3:08 PM, berenger.mo...@neutralite.org wrote:



Le 10.10.2013 20:20, Brad Rogers a écrit :

On Thu, 10 Oct 2013 10:54:57 -0700
Gregory Nowak  wrote:

Hello Gregory,


"purge
  purge is identical to remove except that packages are
  removed and
  purged (any configuration files are deleted too)."


As has been said, the man page is imprecise.


I wonder if that could justify a bug report? Speaking about that, I have
no idea about what exactly does the reinstall option: simply remove and
then install, or purge and then install? If, as I think, it's the first
option, what is the use for that, since packages should not lose files
magically?




I'm not sure what the confusion is here.  Sure, it deletes all
configuration files it knows about.  But then I would NOT expect it to
delete any user-generated files, configuration or otherwise.  I would
only expect it to delete what it can restore.

Jerry


Maybe you, since you know how it works. But, someone with no knowledge
would think that it also removes userland configuration files, since it
claims to remove all configuration files.



Actually, I'm pretty new to Debian (and Linux in general), and DON'T 
know how it works.  But I do have 45 years of programming experience, 
and have written many installation scripts/programs over the years.  And 
not one of them deleted user files.



To be honest, sometimes I would really like it to be able to do so :)
and I could imagine ways to do that, too.
For example, imagine if all softwares would respect XDG Base Directory
Specification ( oh, wait, they won't, lennart participate ;) but
honestly, I really would like it to be followed ) to install
configuration files in $XDG_CONFIG_HOME. dpkg would simply have to check
for all users with a home directory what is their XDG_CONFIG_HOME and
search here the repertory to remove, in case of a purge. That does not
sounds so impossible, right?


And how would you know if a particular file belongs to a certain 
package, or is something the user created?


Also, many times I will make changes to the default configuration files, 
i.e. setting different values in PHP.  When updating PHP, I do want the 
new defaults, but I do NOT want my mods to the configuration to be 
overwritten.


It's quite easy with Debian; just put a file in /etc/php5/apache2/conf.d 
with my changes and let it go.



Of course, there is the problem of determining where the hell that
variable is defined for each users, and it would also imply that all
softwares respect it, which will probably never happen.
But, in my opinion, having a tool able to remove configuration files
from user directories would help. A lot. Because it happens that I try
some softwares, and then purge them, but I still have to find every
single file they could have installed by hand. And this is *really* boring.
I know that it would have it's own problems, of course, for example when
you install multiple versions of the same program, or if some users want
to keep their files anyway (this issue could be fixed by not effectively
removing those files, but by installing a script which would ask to
users if they want to keep or remove files, script which would be
automatically run at their next session ).



I guess we'll have to disagree here.  I would NEVER want a script to 
remove files from a user directory.



I know that it would not be so easy ( I can think about other problems
that I did not mention, but I do not want to write a novel ) , but it
would be doable, by someone with enough knowledge of package management
and global system, and, again, if most softwares were willing to respect
XDG specs. Vim, bash, xpaint, firefox, those are few examples of widely
known softwares, which does not respect that spec. And for which reason?
I guess there are none. And there are tons of other softwares which does
not.



It's not something I would want.


My homedir is far more messy on Debian than on windows finally, and I
clean it frequently, but I use it far more often on Debian than on
Windows ( where the usages are more to use desktop, other partitions or
"my documents"). Don't you think that something is wrong, here?



My home directories are pretty clean, and I don't clean it at all.  But 
I do manage my files.



The problem is not technical, because it's easy to do, even in C:
==
#define HOME_CONFIG "XDG_CONFIG_DIR" // can be used to keep windows
compatibility without changing any line of code
#define PROGRAM_OWN_CONFIG_DIR "/some/strange/config/dir/name/"
char* user_config_dir = getenv(HOME_CONFIG);
if( !user_config_dir )
   exit( -1 );
unsigned short mcd_len = strlen( user_config_dir ) + strlen(
LEN_OF_PROGRAM_OWN_CONFIG_DIR ) +1;
char* my_config_dir = malloc( mcd_len );
if( !my_config_dir )
   exit( -2 );
if( 0 == strlen( user_config_dir ) )
   strncpy( my_config_dir, "~", 1 );
else
   

Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Jerry Stuckle

On 10/10/2013 4:10 PM, Brad Rogers wrote:
> On Thu, 10 Oct 2013 15:59:42 -0400
> Jerry Stuckle  wrote:
>
> Hello Jerry,
>

Hi, Brad,

>> I'm not sure what the confusion is here.  Sure, it deletes all
>
> See what Gregory wrote.  He, for one, expected a purge to delete user
> space config files and/or directories as well, based on what he read in
> the man pages for apt-get.
>
>> delete any user-generated files, configuration or otherwise.  I would
>> only expect it to delete what it can restore.
>
> As would I.
>

Yes, I read Gregory's update.  I didn't read it the same way you did, 
though.


Jerry


--
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/52576cf8.90...@attglobal.net



Re: which MTA to choose for a simple client?

2013-10-10 Thread Celejar
On Wed, 9 Oct 2013 11:08:41 +0200
Jochen Spieker  wrote:

...

> (BTW, I had assumed fetchmail was dead while getmail is alive. It is
> actually the other way round!)

Not exactly sure what you mean here, but getmail looks alive to me - the
latest version was released less than two months ago:

http://article.gmane.org/gmane.mail.getmail.announce/152

Celejar


-- 
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/20131010224951.5e3f5348c2578d1008867...@gmail.com



Re: apt-get update fails after wheezy update

2013-10-10 Thread Steven G. Johnson

Jochen Spieker wrote:

Very strange. Did you try changing to another mirror, just to see if
that helps? Did you set a proxy in /etc/apt/apt.conf{,.d}?


That was the problem: we had previously been using the approx proxy 
server, and there was an Acquire::http::proxy set in 
/etc/apt/apt.conf.d.   During the upgrade to wheezy, approx was held 
back for some reason and wasn't functioning, so I switched back to 
http://ftp.us.debian.org/debian/, but the file was preventing it from 
working.


Commenting out the proxy in /etc/apt/apt.conf.d/70debconf fixed the 
problem.  (Then I was able to upgrade approx and switch back to using 
the proxy, which is for a cluster setup, as before.)


Thanks so much for your help!

--SGJ


--
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/l37n2k$7u9$1...@ger.gmane.org



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread berenger . morel



Le 11.10.2013 01:20, Gregory Nowak a écrit :

On Fri, Oct 11, 2013 at 12:59:32AM +0200,
berenger.mo...@neutralite.org wrote:

Yes, I know that this is the normal behavior. It purged system-wide
configuration. But, the point is, that for some people, when they
read the man page, they think that it removes *all* configuration
files, including the ones the application have created in userspace.
Which it does not, we all agree about that.


Ok. What seems like common sense to some of us might not be viewed
that way by others.


When things becomes usual for someone, he sees them as common sense. On 
other subjects, some people asked me how I can not see the common sense 
of their actions, too, when that needed a global understanding of 
something I never used before. Common sense is subjective I think.


I remember a show from French humorist where they were playing the role 
of people doing marketing. The conclusion of it was (rough translation):

Do not take people as if they were stupid, but do not forget they are.
It was to make people laugh, and it is quite harsh, but, it is not 
completely wrong, we are all unable to understand things other will. 
(it's hard for me to explain what I mean in English, so do not take this 
too seriously and be indulgent please)


Finally, that's close to what I try to apply when I create a software. 
I try to consider the more dumb actions of the user possible, and do 
what I can to avoid them to make everything explode. It includes 
checking if the user entered characters on a field where you ask the age 
for example :)



Now, the question I asked was, should the manpage be fixed to avoid
any user to think that dpkg can remove all configuration files,
including those which were not created by dpkg, since some
applications create some config files themselves ( so, the user does
not create them not manipulate them without that application's
dedicated interface ) which can makes things confusing.


Yes, the man page should probably be fixed since it could be
misinterpreted. How about changing "purge is identical to remove
except that packages are removed and
   purged (any configuration files are deleted too)." to say
   "purge is identical to remove except that packages are
   removed and
   purged (any configuration files created by the package at
   install time are deleted too).



I think this would enhance, yes. Could be even better with "( any and 
only configuration files created by the package at install time are 
deleted)" so that I think it is not possible to be mistaken. But my 
English is not really good, so it may probably be said better.



--
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/8d2e481bad12cbcf7c106f2e3185a...@neutralite.org



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Gregory Nowak
On Fri, Oct 11, 2013 at 12:59:32AM +0200, berenger.mo...@neutralite.org wrote:
> Yes, I know that this is the normal behavior. It purged system-wide
> configuration. But, the point is, that for some people, when they
> read the man page, they think that it removes *all* configuration
> files, including the ones the application have created in userspace.
> Which it does not, we all agree about that.

Ok. What seems like common sense to some of us might not be viewed
that way by others.

> 
> Now, the question I asked was, should the manpage be fixed to avoid
> any user to think that dpkg can remove all configuration files,
> including those which were not created by dpkg, since some
> applications create some config files themselves ( so, the user does
> not create them not manipulate them without that application's
> dedicated interface ) which can makes things confusing.

Yes, the man page should probably be fixed since it could be
misinterpreted. How about changing "purge is identical to remove
except that packages are removed and
   purged (any configuration files are deleted too)." to say
   "purge is identical to remove except that packages are
   removed and
   purged (any configuration files created by the package at
   install time are deleted too).

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/20131010232057.ga27...@gregn.net



Re: Mail logs missing in wheezy

2013-10-10 Thread Tom H
On Wed, Oct 9, 2013 at 8:24 PM, Hendrik Boom  wrote:
> On Tue, 01 Oct 2013 09:19:30 -0700, David Guntner
>>
>> What things are logged where is controlled by the /etc/rsyslog.conf
>> file.  "man rsyslog.conf" for more information about the layout of the
>> file.
>
> Here's an extract from the rsyslog.conf file:
>
> auth,authpriv.* /var/log/auth.log
> *.*;auth,authpriv.none  -/var/log/syslog
> #cron.* /var/log/cron.log
> daemon.*-/var/log/daemon.log
> kern.*  -/var/log/kern.log
> lpr.*   -/var/log/lpr.log
> mail.*  -/var/log/mail.log
> user.*  -/var/log/user.log
>
> I can't find it mentioned in the man page for rsyslog.cong what the minus
> signs mean in front of the file names.

It means "don't sync every file write."


-- 
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=Sww+jLUGA+kct22wkEKJ=2eghr_jeh_jjb-wwceadp...@mail.gmail.com



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Gregory Nowak
On Thu, Oct 10, 2013 at 09:10:24PM +0100, Brad Rogers wrote:
> See what Gregory wrote.  He, for one, expected a purge to delete user
> space config files and/or directories as well, based on what he read in
> the man pages for apt-get.

Brad, I would appreciate it if you would please not put words in my
mouth! I didn't mention user space files or directories at all! What I
said was "The --purge removes config files for package_name, so
package_name is
then completely gone from your system, configs and all. When you
install package_name again it will be installed fresh as if it had
never been installed on the system before." I of course assumed that
John would know any files he himself created wouldn't be removed. What
I probably should have said instead is The --purge removes config
files for package_name, so package_name is
then completely gone from your system, configs and all that the
package created when you installed it. When you
install package_name again it will be installed fresh as if it had
never been installed on the system before, except for any
files/directories which you created before you removed the package.

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/20131010230719.ga25...@gregn.net



Re: apt-get vs. aptitude

2013-10-10 Thread Tom H
On Wed, Oct 9, 2013 at 1:11 PM, Dmitrii Kashin  wrote:
> Florian Lindner  writes:
>>
>> What is the prefered tool for installing on the CLI? apt-get or
>> aptitude? Last time I read about it, it was aptitude, due to better
>> dependency checking. What is the current state? apt-get or aptitude?
>> Does it matter? What about using both?
>
> I should notice that you cannot compare apt-get and aptitude. But you
> can do it for aptitude and APT utilities.
>
> I find aptitude somtimes inadequate, and therefore dangerous in some
> cases. I met situations when aptitude completly broke functioning of
> APT. APT utilities in their turn are simpler, and they are more
> preferred to manage packages.
>
> But although aptitude can break APT, APT could not break aptitude's
> working, so you always can use it in order to use its searching
> abilities. I do so.

Have you filed a bug report about aptitude breaking apt (whatever that
means!) or is this just FUD?


-- 
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=Sxy2vuWNOVse_hx5XaipbAZ+BLrFPeN7pRsi=gt0dj...@mail.gmail.com



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread berenger . morel



Le 11.10.2013 00:49, Gregory Nowak a écrit :

On Thu, Oct 10, 2013 at 11:23:50PM +0200,
berenger.mo...@neutralite.org wrote:

Maybe you, since you know how it works. But, someone with no
knowledge would think that it also removes userland configuration
files, since it claims to remove all configuration files.


Ok, since the man page is saying one thing, and yourself and Brad are
saying another, I decided to try this out. Here's what I did:
[snip]


Yes, I know that this is the normal behavior. It purged system-wide 
configuration. But, the point is, that for some people, when they read 
the man page, they think that it removes *all* configuration files, 
including the ones the application have created in userspace. Which it 
does not, we all agree about that.


Now, the question I asked was, should the manpage be fixed to avoid any 
user to think that dpkg can remove all configuration files, including 
those which were not created by dpkg, since some applications create 
some config files themselves ( so, the user does not create them not 
manipulate them without that application's dedicated interface ) which 
can makes things confusing.
But, yes, definitely, people with knowledge about dpkg, even as small 
as mine, understand that it does only remove files it have created.



--
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/d3b78415d892ee8be81511c46...@neutralite.org



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Gregory Nowak
On Thu, Oct 10, 2013 at 11:23:50PM +0200, berenger.mo...@neutralite.org wrote:
> Maybe you, since you know how it works. But, someone with no
> knowledge would think that it also removes userland configuration
> files, since it claims to remove all configuration files.

Ok, since the man page is saying one thing, and yourself and Brad are
saying another, I decided to try this out. Here's what I did:

1. apt-get install apcupsd

2. Edit /etc/apcupsd/onbattery. Towards the end of that file is a line
   that says:

/sbin/apcaccess

Let's pretend I don't want a status report from the ups if power
fails, so I changed it to say:

#/sbin/apcaccess

and saved the file.

3. apt-get purge apcupsd

4. ls /etc/apcupsd

"ls: cannot access /etc/apcupsd: No such file or directory"

5. apt-get install apcupsd

The file /etc/apcupsd/onbattery is back of course, and the line I
commented out isn't commented anymore, which is what I would
expect. It's exactly as the man page says, any configuration files
will be deleted! If what you have in mind is a user creating a file
which apt knows nothing about, then that's a different case. I agree
with Jerry here, it isn't reasonable to expect apt to know about a
file which it didn't create, so that file naturally wouldn't be purged
when the package got removed. In fact, I seem to recall that in such a
situation dpkg gives a warning stating something along the lines of
directory xyz not empty, so not removed. So, even if a user forgets
he/she created a file or files or something like dkms created a kernel
module for example, dpkg tries to remind you about that when a package
is purged, and a given directory could have been purged too if you
hadn't put something there.

If I'm missing something here then perhaps it would be useful if
you/Brad/someone else
provided an example illustrating your point as I did to illustrate
mine.

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/20131010224936.ga7...@gregn.net



Re: should an end user stick to a kernel with an initrd?

2013-10-10 Thread Tom H
On Wed, Oct 9, 2013 at 1:51 PM, Regid Ichira  wrote:
>
> It seems newer hardware is much more problematic in this sense. I
> think MS ovecomes this difficulty by somehow attaching a signature for
> each device. I don't have the details, don't know the pros and cons.

On a UEFI box, partitions are assigned UUIDs similar to filesystem UUIDs.

On my laptop, they are, as exposed by udev:

# ll /dev/disk/by-partuuid/
total 0
lrwxrwxrwx 1 root root 10 2013-10-10 04:28
287521a3-432b-4992-ab68-327d92791ade -> ../../sda2
lrwxrwxrwx 1 root root 10 2013-10-10 04:28
796cde65-0b7d-4ba4-8589-ee8e09ad47e2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 2013-10-10 04:28
9500362d-9b00-4168-9b47-04c2b0204965 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2013-10-10 04:28
f00e68a4-4645-44d6-b249-396e09b9844f -> ../../sda1

Are you sure that Microsoft's using these partition UUIDs? Or are you
referring to the fact that an EFI system partition (in Windows and in
Linux) is identified by a UUID
("C12A7328-F81F-11D2-BA4B-00A0C93EC93B") at boot?

This last UUID is a partition type and is recognized as "ef00" by
gdisk. (The "8300" of a regular Linux partition also has an equivalent
UUID.)


-- 
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=sxnxhwywlfs0bkso1ovw_fp826nopadqvklzw4nrev...@mail.gmail.com



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Brad Rogers
On Thu, 10 Oct 2013 15:59:42 -0400
Jerry Stuckle  wrote:

Hello Jerry,

>I'm not sure what the confusion is here.  Sure, it deletes all 

See what Gregory wrote.  He, for one, expected a purge to delete user
space config files and/or directories as well, based on what he read in
the man pages for apt-get.

>delete any user-generated files, configuration or otherwise.  I would 
>only expect it to delete what it can restore.

As would I.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
You said you ain't had none for weeks, but baby I seen your arms
Deny - The Clash


signature.asc
Description: PGP signature


Re: apt-pinning, strange behavior

2013-10-10 Thread berenger . morel



Le 10.10.2013 23:06, Dmitrii Kashin a écrit :

berenger.mo...@neutralite.org writes:

In the same priority range, the package which will be installed is 
the

one with the highest priority, so it is fine to have one set of
package with 500 ( or I could take 600 or any other value ) for low
priority, and the other at 900 ( or 800 or... ), so that the version
with 900 will be installed against the lower one, even if the lower
one is more recent.


Oh... Truely? I thought differently and was sure I am right.


Maybe you are right, but in that case, how would you explain the 
behavior I had if a package of a priority of 500 is considered to have 
the same priority as a package with 900 ? ;)


I just skimmed again through apt_preferences man page, but did not 
find

such examples or explanations. Where's it documented?


I must admit, that I only base my words on old readings and 
experimentations. It also seems logic: what would be the interest to 
have so wide ranges of numbers oterwise?
Maybe I'm wrong, but what I have seen those days tends to prove that I 
am not.



--
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/85a4a2725fc50736dcf02195d33b1...@neutralite.org



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread berenger . morel



Le 10.10.2013 21:59, Jerry Stuckle a écrit :

On 10/10/2013 3:08 PM, berenger.mo...@neutralite.org wrote:



Le 10.10.2013 20:20, Brad Rogers a écrit :

On Thu, 10 Oct 2013 10:54:57 -0700
Gregory Nowak  wrote:

Hello Gregory,


"purge
  purge is identical to remove except that packages are
  removed and
  purged (any configuration files are deleted too)."


As has been said, the man page is imprecise.


I wonder if that could justify a bug report? Speaking about that, I 
have
no idea about what exactly does the reinstall option: simply remove 
and
then install, or purge and then install? If, as I think, it's the 
first
option, what is the use for that, since packages should not lose 
files

magically?




I'm not sure what the confusion is here.  Sure, it deletes all
configuration files it knows about.  But then I would NOT expect it 
to

delete any user-generated files, configuration or otherwise.  I would
only expect it to delete what it can restore.

Jerry


Maybe you, since you know how it works. But, someone with no knowledge 
would think that it also removes userland configuration files, since it 
claims to remove all configuration files.


To be honest, sometimes I would really like it to be able to do so :) 
and I could imagine ways to do that, too.
For example, imagine if all softwares would respect XDG Base Directory 
Specification ( oh, wait, they won't, lennart participate ;) but 
honestly, I really would like it to be followed ) to install 
configuration files in $XDG_CONFIG_HOME. dpkg would simply have to check 
for all users with a home directory what is their XDG_CONFIG_HOME and 
search here the repertory to remove, in case of a purge. That does not 
sounds so impossible, right?
Of course, there is the problem of determining where the hell that 
variable is defined for each users, and it would also imply that all 
softwares respect it, which will probably never happen.
But, in my opinion, having a tool able to remove configuration files 
from user directories would help. A lot. Because it happens that I try 
some softwares, and then purge them, but I still have to find every 
single file they could have installed by hand. And this is *really* 
boring.
I know that it would have it's own problems, of course, for example 
when you install multiple versions of the same program, or if some users 
want to keep their files anyway (this issue could be fixed by not 
effectively removing those files, but by installing a script which would 
ask to users if they want to keep or remove files, script which would be 
automatically run at their next session ).


I know that it would not be so easy ( I can think about other problems 
that I did not mention, but I do not want to write a novel ) , but it 
would be doable, by someone with enough knowledge of package management 
and global system, and, again, if most softwares were willing to respect 
XDG specs. Vim, bash, xpaint, firefox, those are few examples of widely 
known softwares, which does not respect that spec. And for which reason? 
I guess there are none. And there are tons of other softwares which does 
not.


My homedir is far more messy on Debian than on windows finally, and I 
clean it frequently, but I use it far more often on Debian than on 
Windows ( where the usages are more to use desktop, other partitions or 
"my documents"). Don't you think that something is wrong, here?


The problem is not technical, because it's easy to do, even in C:
==
#define HOME_CONFIG "XDG_CONFIG_DIR" // can be used to keep windows 
compatibility without changing any line of code

#define PROGRAM_OWN_CONFIG_DIR "/some/strange/config/dir/name/"
char* user_config_dir = getenv(HOME_CONFIG);
if( !user_config_dir )
  exit( -1 );
unsigned short mcd_len = strlen( user_config_dir ) + strlen( 
LEN_OF_PROGRAM_OWN_CONFIG_DIR ) +1;

char* my_config_dir = malloc( mcd_len );
if( !my_config_dir )
  exit( -2 );
if( 0 == strlen( user_config_dir ) )
  strncpy( my_config_dir, "~", 1 );
else
  strncpy( my_config_dir, user_config_dir, strlen( user_config_dir ) );
strncat( my_config_dir + strlen( my_config_dir ), 
PROGRAM_OWN_CONFIG_DIR, LEN_OF_PROGRAM_OWN_CONFIG_DIR );

==
That's portable, standard, written in less than 5min and relatively 
secure ( there are still flaws there, but I am more used to C++, and 
it's a simple demo ). So, why not doing it? Less than 20 lines in C, 
less than 5 lines in C++, and probably not more in other languages.



--
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/e823575541db7233c2f9fe85c5b8d...@neutralite.org



Re: apt-get update fails after wheezy update

2013-10-10 Thread Jochen Spieker
Steven G. Johnson:
>
> I am not behind a firewall.  The only uncommented line in my
> /etc/apt/sources.list is:
> 
>  deb http://ftp.us.debian.org/debian/ stable main contrib non-free
> 
> Running "apt-get update" yields the "Connection failed" errors
> listed below.  I've also run "apt-get update -o
> Debug::Acquire::http=true" to get more verbose output, which I've
> put at http://jdj.mit.edu/~stevenj/apt-get-update.out in case it is
> helpful. Running e.g "wget 
> http://debian.lcs.mit.edu/debian/dists/stable/main/i18n/Translation-en.bz2";
> works fine, so it is not a network problem.

Very strange. Did you try changing to another mirror, just to see if
that helps? Did you set a proxy in /etc/apt/apt.conf{,.d}?

J.
-- 
When I get home from the supermarket I don't know what to do with all the
plastic.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: apt-get update fails after wheezy update

2013-10-10 Thread Steven G. Johnson

On 10/10/13 3:54 PM, Danilo Sampaio wrote:
> sometimes, the commands below works for me:
>
> sudo rm /var/lib/apt/lists/* -vf
> sudo apt-get clean
> sudo apt-get update

Unfortunately, this doesn't seem to help.



--
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/l374uo$bic$1...@ger.gmane.org



Re: apt-pinning, strange behavior

2013-10-10 Thread Dmitrii Kashin
berenger.mo...@neutralite.org writes:

> In the same priority range, the package which will be installed is the
> one with the highest priority, so it is fine to have one set of
> package with 500 ( or I could take 600 or any other value ) for low
> priority, and the other at 900 ( or 800 or... ), so that the version
> with 900 will be installed against the lower one, even if the lower
> one is more recent.

Oh... Truely? I thought differently and was sure I am right.

I just skimmed again through apt_preferences man page, but did not find
such examples or explanations. Where's it documented?

> Yes, it wants, because I did not specified the priority for the
> release stable-updates. This is what apt-cache policy pointed, and
> once fixed, my problem disappeared, and I finally understood that
> obvious issue.

Glad for you.

> PS: I think I should probably send the package-specific priorities and
> their dependencies into specific files in preferences.d/

Yes, it's a good practice. I do so. But mostly in order to set negative
priorities.


pgpPtARO8Mur6.pgp
Description: PGP signature


Re: which file should I download

2013-10-10 Thread berenger . morel



Le 10.10.2013 22:06, Anjan Mitra a écrit :

debian-7.1.0-amd64-DVD-1.iso [1] 2013-06-16 01:39 3.7G

debian-7.1.0-amd64-DVD-2.iso [2] 2013-06-16 01:39 4.4G

debian-7.1.0-amd64-DVD-3.iso [3] 2013-06-16 01:39 4.4G

debian-update-7.1.0-amd64-DVD-1.iso [4] 2013-06-16 05:34 2.9G


Links:
--
[1]

http://cdimage.debian.org/debian-cd/7.1.0/amd64/iso-dvd/debian-7.1.0-amd64-DVD-1.iso
[2]

http://cdimage.debian.org/debian-cd/7.1.0/amd64/iso-dvd/debian-7.1.0-amd64-DVD-2.iso
[3]

http://cdimage.debian.org/debian-cd/7.1.0/amd64/iso-dvd/debian-7.1.0-amd64-DVD-3.iso
[4]

http://cdimage.debian.org/debian-cd/7.1.0/amd64/iso-dvd/debian-update-7.1.0-amd64-DVD-1.iso


Not a lot of description of your problem, but I'll assume you want to 
download an installation image.

If so, then in all those files it would be debian-7.1.0-amd64-DVD-1.iso


--
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/d091bd6c546b6c81bbaabb3dce06e...@neutralite.org



Re: Set widescreen resolution in console

2013-10-10 Thread Dmitrii Kashin
Antonio Paiva  writes:

> Hi everyone,
>
> I have recently acquired an old Sony Vaio PCG-C1VN (aka, a "PictureBook")
> and installed Debian wheezy. The problem is that I can only get the
> *console* to run at 640x480 resolution.

First of all, have you tried to boot your kernel with vga=ask option?


pgpuuJalKhhxN.pgp
Description: PGP signature


which file should I download

2013-10-10 Thread Anjan Mitra
debian-7.1.0-amd64-DVD-1.iso

   2013-06-16 01:39  3.7G

debian-7.1.0-amd64-DVD-2.iso

   2013-06-16 01:39  4.4G

debian-7.1.0-amd64-DVD-3.iso

   2013-06-16 01:39  4.4G

debian-update-7.1.0-amd64-DVD-1.iso

2013-06-16 05:34  2.9G


Re: [SOLVED] Static IP /etc/network/interfaces, but got leased by dhcp

2013-10-10 Thread Ivan Kovnatsky
On Oct 10, 2013 at 22:53, "Karl E. Jorgensen"  wrote:
> Hm. This should not be happening.
> 
> Was it DHCP recently? (i.e. at any time since the last reboot) Because
> this sequence of events would produce what you saw:

I have uptime:
--
sevenfourk@lefrat ~ $ uptime
 22:59:36 up 17 days, 22:25,  0 users,  load average: 0.33, 0.48, 0.42
sevenfourk@lefrat ~ $ 
--

And I fount that dhcp was running:
--
sevenfourk@lefrat ~ $ ps -ef|grep dhcp
root  1630 1  0 Sep23 ?00:00:00 dhclient -v -pf 
/run/dhclient.wlan0.pid -lf /var/lib/dhcp/dhclient.wlan0.leases wlan0
sevenfo+ 11014 22597  0 21:41 pts/100:00:00 grep dhcp
sevenfourk@lefrat ~ $
--

> Alternatively: when switching from dhcp to static: kill off any
> remaining dhcp clients manually :-)

That must be it.  I might have used dhcp in /etc/network/interfaces some time
ago, and dhcp client must have been hanging there.

 
-Ivan


signature.asc
Description: Digital signature


Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Jerry Stuckle

On 10/10/2013 3:08 PM, berenger.mo...@neutralite.org wrote:



Le 10.10.2013 20:20, Brad Rogers a écrit :

On Thu, 10 Oct 2013 10:54:57 -0700
Gregory Nowak  wrote:

Hello Gregory,


"purge
  purge is identical to remove except that packages are
  removed and
  purged (any configuration files are deleted too)."


As has been said, the man page is imprecise.


I wonder if that could justify a bug report? Speaking about that, I have
no idea about what exactly does the reinstall option: simply remove and
then install, or purge and then install? If, as I think, it's the first
option, what is the use for that, since packages should not lose files
magically?




I'm not sure what the confusion is here.  Sure, it deletes all 
configuration files it knows about.  But then I would NOT expect it to 
delete any user-generated files, configuration or otherwise.  I would 
only expect it to delete what it can restore.


Jerry


--
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/5257072e.7020...@attglobal.net



Re: apt-get update fails after wheezy update

2013-10-10 Thread Danilo Sampaio
sometimes, the commands below works for me:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get update




On Thu, Oct 10, 2013 at 2:48 PM, Steven G. Johnson wrote:

> A few days ago I did an "apt-get update && apt-get dist-upgrade" on our
> amd64 Debian system to update it to wheezy.  Things went mostly okay
> (although it got stuck once on a php update and I had to kill and restart
> apt-get).   However, ever since then apt-get update has failed.
>
> I am not behind a firewall.  The only uncommented line in my
> /etc/apt/sources.list is:
>
>  deb 
> http://ftp.us.debian.org/**debian/stable 
> main contrib non-free
>
> Running "apt-get update" yields the "Connection failed" errors listed
> below.  I've also run "apt-get update -o Debug::Acquire::http=true" to get
> more verbose output, which I've put at http://jdj.mit.edu/~stevenj/**
> apt-get-update.out  in
> case it is helpful. Running e.g "wget http://debian.lcs.mit.edu/**
> debian/dists/stable/main/i18n/**Translation-en.bz2"
> works fine, so it is not a network problem.
>
> Any pointers would be much appreciated.
>
> --SGJ
>
> --- "apt-get update" output --
> Err http://ftp.us.debian.org stable Release.gpg
>   Connection failed
> Ign http://ftp.us.debian.org stable Release
> Err http://ftp.us.debian.org stable/main amd64 Packages
>   Connection failed
> Err http://ftp.us.debian.org stable/contrib amd64 Packages
>   Connection failed
> Err http://ftp.us.debian.org stable/non-free amd64 Packages
>   Connection failed
> Err http://ftp.us.debian.org stable/contrib Translation-en
>   Connection failed
> Err http://ftp.us.debian.org stable/main Translation-en
>   Connection failed
> Err http://ftp.us.debian.org stable/non-free Translation-en
>   Connection failed
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/Release.
> **gpg  Connection 
> failed
>
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/main/**
> binary-amd64/Packages
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/contrib/
> **binary-amd64/Packages
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**
> debian/dists/stable/non-free/**binary-amd64/Packages
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/contrib/
> **i18n/Translation-en
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**
> debian/dists/stable/main/i18n/**Translation-enConnection
>  failed
>
> W: Failed to fetch http://ftp.us.debian.org/**
> debian/dists/stable/non-free/**i18n/Translation-enConnection
>  failed
>
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
>
> --
> To UNSUBSCRIBE, email to 
> debian-user-REQUEST@lists.**debian.orgwith
>  a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/**l36p9d$3e2$1...@ger.gmane.org
>
>


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

Dyad & Associados
40084711


Re: Static IP /etc/network/interfaces, but got leased by dhcp

2013-10-10 Thread Karl E. Jorgensen
On Thu, Oct 10, 2013 at 09:45:22PM +0300, Ivan Kovnatsky wrote:
> Hi Guys,
> 
> I have static IP assignment in /etc/network/interfaces:
> --
> # Wireless
> auto wlan0
> iface wlan0 inet static
> wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
> address 192.168.1.49
> netmask 255.255.255.0
> gateway 192.168.1.1
> --
> 
> But somehow I could not ssh to my home laptop today, and found in logs:
> --
> Oct 10 06:40:54 lefrat dhclient: DHCPREQUEST on wlan0 to 192.168.1.1 port 67
> Oct 10 06:40:54 lefrat dhclient: DHCPACK from 192.168.1.1
> Oct 10 06:40:54 lefrat dhclient: bound to 192.168.1.218 -- renewal in 33574 
> seconds.
> --
> 
> Could you please clarify the reason of that, maybe I'm missing something.

Hm. This should not be happening.

Was it DHCP recently? (i.e. at any time since the last reboot) Because
this sequence of events would produce what you saw:

 Boot with the stanza saying "dhcp"
 Modify /etc/network/interfaces to static IP
 ifdown eth0 ; ifup eth0 # or /etc/init.d/networking restart

The snag is that the "ifdown" will NOT stop the DHCP client. Because
it sees no mention of DHCP in /etc/network/interfaces (at that
point). Then, later on, when the DHCP client renews the lease, I would
not be surprised if the IP address of the network interface is
updated.  Exactly when, depends on your lease time.

To avoid that, you should probably have done:

   cp /etc/network/interfaces /etc/network/interfaces.bak
   vi /etc/network/interfaces # or whatever your preferred editor is
   ifdown -i  /etc/network/interfaces.bak eth0
   ifup eth0

(it's good practice backing backups of such important files anyway).

Alternatively: when switching from dhcp to static: kill off any
remaining dhcp clients manually :-)

-- 
Karl E. Jorgensen


-- 
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/20131010195329.GC26819@hawking



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Brad Rogers
On Thu, 10 Oct 2013 21:08:35 +0200
berenger.mo...@neutralite.org wrote:

Hello berenger.mo...@neutralite.org,

>I wonder if that could justify a bug report? Speaking about that, I 

It's not something I'd considered, but maybe it would.

>have no idea about what exactly does the reinstall option: simply
>remove and then install, or purge and then install? If, as I think,

As I've never had to perform a reinstall, IDK what happens for sure.
There is a third option though;  Just unpack the package, overwriting
any existing files, be they good or bad and (re)installing any missing
ones.

>it's the first option, what is the use for that, since packages should
>not lose files magically?

True, but users can do strange things and delete necessary files, or
files can become corrupt due to localised storage medium failure.  That
is, bad sector(s) on hard drives.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Every single one of us
Devil Inside - INXS


signature.asc
Description: PGP signature


Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread berenger . morel



Le 10.10.2013 20:20, Brad Rogers a écrit :

On Thu, 10 Oct 2013 10:54:57 -0700
Gregory Nowak  wrote:

Hello Gregory,


"purge
  purge is identical to remove except that packages are
  removed and
  purged (any configuration files are deleted too)."


As has been said, the man page is imprecise.


I wonder if that could justify a bug report? Speaking about that, I 
have no idea about what exactly does the reinstall option: simply remove 
and then install, or purge and then install? If, as I think, it's the 
first option, what is the use for that, since packages should not lose 
files magically?



--
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/bc2c560e738971144df174cf36bb7...@neutralite.org



Re: I have an Openoffice question for small business.

2013-10-10 Thread Paul van der Vlis
Hi Ezequiel,

Op 08-10-13 14:10, Ezequiel schreef:
> Hi all:
> 
> I am Sysadmin at a small business. We have a complete mail-web-vpn
> infrastructure and my boss is happy with it. I guess we are a successful
> case of open software use in the "real world"

I do support for many of such firms.

> But -of course, there is always an issue- my users keep complaining
> about OpenOffice migration to Libre Office. They even complain if I
> change OO from 3.2 to 3.3. I believe there were major changes in that
> version.
> 
> The question is: Is there any way of freezing OO version indefinetly?

Yes there is, but it's not the right way.

You have to switch to libre office because the security support for
oldstable will stop after a year after the new release.

And the security support of the browsers in oldstable is allready
stopped. Ahum...

> I am currently using oldstable OO but I guess my time is going short.
> What will happen when they release the new version of debian? 

Wheezy is already released, maybe I understand something wrong?

Upgrades to new versions are not automatically, when you have the name
of the release in your sources.list. So don't use "stable" but e.g.
"wheezy".

> I don't know what to do...

You need to upgrade in the coming time.

Listen good to your users about the problems they have with it, and find
solutions for them. Do it slow, and with attention. Maybe you can
upgrade one PC first, so they can show what the problem is.

But when they come with nonsense be hard to them...

With regards,
Paul van der Vlis.


> Thanks in advance for any advices.
> 
> Zeke
> 
> PD: My native language is not English, I'm sorry for any mistakes in my
> writing.
> 
> -- 
> ¨Como siempre, los ingenieros hicieron un
> escándalo, aunque terminaron la maniobra
> en la mitad del tiempo que habían rechazado
> como imposible¨





-- 
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl


-- 
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/5256f656.6040...@vandervlis.nl



Static IP /etc/network/interfaces, but got leased by dhcp

2013-10-10 Thread Ivan Kovnatsky
Hi Guys,

I have static IP assignment in /etc/network/interfaces:
--
# Wireless
auto wlan0
iface wlan0 inet static
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.1.49
netmask 255.255.255.0
gateway 192.168.1.1
--

But somehow I could not ssh to my home laptop today, and found in logs:
--
Oct 10 06:40:54 lefrat dhclient: DHCPREQUEST on wlan0 to 192.168.1.1 port 67
Oct 10 06:40:54 lefrat dhclient: DHCPACK from 192.168.1.1
Oct 10 06:40:54 lefrat dhclient: bound to 192.168.1.218 -- renewal in 33574 
seconds.
--

Could you please clarify the reason of that, maybe I'm missing something.


Thank you,
-Ivan


signature.asc
Description: Digital signature


Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Brad Rogers
On Thu, 10 Oct 2013 10:54:57 -0700
Gregory Nowak  wrote:

Hello Gregory,

>"purge
>   purge is identical to remove except that packages are
>   removed and
>   purged (any configuration files are deleted too)."

As has been said, the man page is imprecise.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Go away, come back, go away, come back
Leave Me Alone (I'm Lonely) - P!nk


signature.asc
Description: PGP signature


Re: I have an Openoffice question for small business.

2013-10-10 Thread Joe
On Thu, 10 Oct 2013 13:49:57 +0200
berenger.mo...@neutralite.org wrote:

> To be honest, I also thought that it was written in Java until
> recently ( well, I think I discovered that in the beginning of the
> year ), but someday I said that on a forum and was instantly replied
> that it was written in C++.
> 

I've always seen some trumpet-blowing about Java when downloading OOo,
and of course it originally came from the creators of Java, so I had
made the assumption. It certainly was (and is) slow to load. According
to Wikipedia:

'Although originally written in C++, OpenOffice.org became increasingly
reliant on the Java Runtime Environment, even including a bundled JVM'

 which accounts for the Java messages.

> 
> About Java's security problems... honestly, the only one thing which 
> makes it true is that it is a popular and traditional language to
> write portable web applets. Like windows being the main target of
> hackers, in fact. I do not like Java, but I have learn that
> performance and security issues are not a programming language's
> problem, but a programmer's problem. 

To a large extent, but this year the Oracle implementation of Java
for Windows was found to have many serious security bugs, so whatever
was written with it would have had those bugs. Only if the programmer
had details of the bugs could he have written around them, and in that
case he would just have updated his Java. By the time bugs become
common knowledge, they [usually] have been fixed.

Here's one report of many:

http://www.infosecurity-magazine.com/view/33048/oracle-patches-40-critical-java-flaws/

Have a look at the sidebar stories, also. It is alleged that this
year's large-scale loss of user passwords by Yahoo, as well as exploits
at Google and Microsoft, were carried out via Java bugs.

There are Java alternatives in Linux (and Windows, for that matter),
which certainly won't have most of the vulnerabilities in the Oracle
version, but as far as I'm aware they are a bit less functional, and I
believe some applications require the Oracle product.

-- 
Joe


-- 
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/20131010191320.1221b...@jretrading.com



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread berenger . morel



Le 10.10.2013 19:54, Gregory Nowak a écrit :

On Thu, Oct 10, 2013 at 06:21:55PM +0100, Brad Rogers wrote:

Hello Brad,

Not entirely true;  Any package that has configuration 
files/directories
in user space will have those left even after an apt-get(1) purge.  
So,

to be sure, one has to delete those as well.



$ man 1 apt-get
No manual entry for apt-get in section 1
See 'man 7 undocumented' for help when manual pages are not 
available.


The apt-get(8) man page says:

"purge
   purge is identical to remove except that packages are
   removed and
   purged (any configuration files are deleted too)."

Greg


Then the man is not precise enough. Try to install a random package 
with userspace settings, like, say, a game. Change it's settings, purge 
it from the system, and reinstall it. The settings will not change.


Purge only removes configuration files contained in the package, so, 
/etc ones.



--
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/131a6e43114f5511a1ac7f0c1921c...@neutralite.org



apt-get update fails after wheezy update

2013-10-10 Thread Steven G. Johnson
A few days ago I did an "apt-get update && apt-get dist-upgrade" on our 
amd64 Debian system to update it to wheezy.  Things went mostly okay 
(although it got stuck once on a php update and I had to kill and 
restart apt-get).   However, ever since then apt-get update has failed.


I am not behind a firewall.  The only uncommented line in my 
/etc/apt/sources.list is:


 deb http://ftp.us.debian.org/debian/ stable main contrib non-free

Running "apt-get update" yields the "Connection failed" errors listed 
below.  I've also run "apt-get update -o Debug::Acquire::http=true" to 
get more verbose output, which I've put at 
http://jdj.mit.edu/~stevenj/apt-get-update.out in case it is helpful. 
Running e.g "wget 
http://debian.lcs.mit.edu/debian/dists/stable/main/i18n/Translation-en.bz2"; 
works fine, so it is not a network problem.


Any pointers would be much appreciated.

--SGJ

--- "apt-get update" output --
Err http://ftp.us.debian.org stable Release.gpg
  Connection failed
Ign http://ftp.us.debian.org stable Release
Err http://ftp.us.debian.org stable/main amd64 Packages
  Connection failed
Err http://ftp.us.debian.org stable/contrib amd64 Packages
  Connection failed
Err http://ftp.us.debian.org stable/non-free amd64 Packages
  Connection failed
Err http://ftp.us.debian.org stable/contrib Translation-en
  Connection failed
Err http://ftp.us.debian.org stable/main Translation-en
  Connection failed
Err http://ftp.us.debian.org stable/non-free Translation-en
  Connection failed
W: Failed to fetch 
http://ftp.us.debian.org/debian/dists/stable/Release.gpg  Connection failed


W: Failed to fetch 
http://ftp.us.debian.org/debian/dists/stable/main/binary-amd64/Packages 
 Connection failed


W: Failed to fetch 
http://ftp.us.debian.org/debian/dists/stable/contrib/binary-amd64/Packages 
 Connection failed


W: Failed to fetch 
http://ftp.us.debian.org/debian/dists/stable/non-free/binary-amd64/Packages 
 Connection failed


W: Failed to fetch 
http://ftp.us.debian.org/debian/dists/stable/contrib/i18n/Translation-en 
 Connection failed


W: Failed to fetch 
http://ftp.us.debian.org/debian/dists/stable/main/i18n/Translation-en 
Connection failed


W: Failed to fetch 
http://ftp.us.debian.org/debian/dists/stable/non-free/i18n/Translation-en 
Connection failed


E: Some index files failed to download. They have been ignored, or old 
ones used instead.



--
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/l36p9d$3e2$1...@ger.gmane.org



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Gregory Nowak
On Thu, Oct 10, 2013 at 06:21:55PM +0100, Brad Rogers wrote:

Hello Brad,

> Not entirely true;  Any package that has configuration files/directories
> in user space will have those left even after an apt-get(1) purge.  So,
> to be sure, one has to delete those as well.
> 

$ man 1 apt-get
No manual entry for apt-get in section 1
See 'man 7 undocumented' for help when manual pages are not available.

The apt-get(8) man page says:

"purge
   purge is identical to remove except that packages are
   removed and
   purged (any configuration files are deleted too)."

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/20131010175457.ga12...@gregn.net



Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Brad Rogers
On Thu, 10 Oct 2013 10:09:27 -0700
Gregory Nowak  wrote:

Hello Gregory,

>then completely gone from your system, configs and all. When you
>install package_name again it will be installed fresh as if it had
>never been installed on the system before. HTH.

Not entirely true;  Any package that has configuration files/directories
in user space will have those left even after an apt-get(1) purge.  So,
to be sure, one has to delete those as well.

Without detailed info about all the packages John wishes to re-install,
it's impossible to say which, if any, may have user space configs.

(1)  Or other package manager tool.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Buy some love at the five and dime
You Have Placed A Chill In My Heart - Eurythmics


signature.asc
Description: PGP signature


Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Erick Ocrospoma
Hi,

Yes, it is possible, you can do

apt-get install package --reinstall

It will work even if the package is installed, but a full removing will be
even a better solution





~ Happy install !




Cellphone   :  +51 950307809
Blog:  http://zerick.me/
LUG:  http://www.utpinux.org
IRC :   zerick
About :  http://about.me/zerick
Linux User ID :  549567


On 9 October 2013 11:21, John W. Foster  wrote:

> I want to know if there is a way to use reinstall with some command to
> overwrite all the existing configs using the dist configs. I want a
> complete new installation with no modifications. I have tried this but
> so far apt uses the existing configs. I end up with a non working
> server. I had this same issue with apache and evolution. Seem like I
> should be able to specify this at setup.
> Thanks
> john
>
>
> --
> 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/1381335699.20834.4.ca...@beast.physicswiki.net
>
>


Re: reinstalling Nginx & others usin apt from command line

2013-10-10 Thread Gregory Nowak
On Wed, Oct 09, 2013 at 11:21:39AM -0500, John W. Foster wrote:
> I want to know if there is a way to use reinstall with some command to
> overwrite all the existing configs using the dist configs. I want a
> complete new installation with no modifications. I have tried this but
> so far apt uses the existing configs. I end up with a non working
> server. I had this same issue with apache and evolution. Seem like I
> should be able to specify this at setup.
> Thanks
> john

When you remove a package, do it like so:

apt-get --purge remove package_name

The --purge removes config files for package_name, so package_name is
then completely gone from your system, configs and all. When you
install package_name again it will be installed fresh as if it had
never been installed on the system before. HTH.

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/20131010170927.ga6...@gregn.net



reinstalling Nginx & others usin apt from command line

2013-10-10 Thread John W. Foster
I want to know if there is a way to use reinstall with some command to
overwrite all the existing configs using the dist configs. I want a
complete new installation with no modifications. I have tried this but
so far apt uses the existing configs. I end up with a non working
server. I had this same issue with apache and evolution. Seem like I
should be able to specify this at setup.
Thanks
john


-- 
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/1381335699.20834.4.ca...@beast.physicswiki.net



Re: Mouse scrolling speed

2013-10-10 Thread Curt
On 2013-10-10, Curt  wrote:
>
>
> curty@einstein:~$ xinput list-props 9 
> Device 'ImPS/2 Generic Wheel Mouse':
> Device Enabled (142):   1
> Device Accel Profile (261): 0
> Device Accel Constant Deceleration (262):   1.00
> Device Accel Adaptive Deceleration (264):   1.00
>
>

Oops. That looks like "whole mouse" swiftiness. Wait a second.


curty@einstein:~$ xinput --list-props 9
Device 'ImPS/2 Generic Wheel Mouse':
Device Enabled (142):   1
Device Accel Profile (261): 0
Device Accel Constant Deceleration (262):   1.00
Device Accel Adaptive Deceleration (264):   1.00
Device Accel Velocity Scaling (265):10.00
Evdev Reopen Attempts (259):10
Evdev Axis Inversion (266): 0, 0
Evdev Axes Swap (268):  0
Axis Labels (269):  "Rel X" (150), "Rel Y" (151)
Button Labels (270):"Button Left" (143), "Button Middle" (144), 
"Button Right" (145), "Button Wheel Up" (146), "Button Wheel Down" (147), 
"Button Horiz Wheel Left" (148), "Button Horiz Wheel Right" (149)
Evdev Middle Button Emulation (271):2
Evdev Middle Button Timeout (272):  50
Evdev Wheel Emulation (273):0
Evdev Wheel Emulation Axes (274):   0, 0, 4, 5
Evdev Wheel Emulation Inertia (275):10
Evdev Wheel Emulation Timeout (276):200
Evdev Wheel Emulation Button (277): 4
Evdev Drag Lock Buttons (278):  0

Wheel Emulation Inertia?

I don't know. You'd have to experiment.


-- 
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/slrnl5dhgc.229.cu...@einstein.electron.org



Re: mdadm gives segmentatin fault on wheezy. RAID array now incomplete.

2013-10-10 Thread Marc Auslander
Hendrik Boom  writes:

> I ran
>
> mdadm /dev/md1 --add /dev/sdd2
>
> and got a segmentation fault.
>
>
> april:/farhome/hendrik# cat /proc/mdstat
> Personalities : [raid1] 
> md1 : active raid1 sdb2[1]
>   2391295864 blocks super 1.2 [2/1] [_U]
>   
> md0 : active raid1 sda4[0] sdc4[1]
>   706337792 blocks [2/2] [UU]
>   
> unused devices: 
> april:/farhome/hendrik# mdadm /dev/md1 --add /dev/sdd2
> Segmentation fault
> april:/farhome/hendrik# 
>
>
> /dev/sdd2 used to be part of the /dev/md1 RAID1 array, but it went bad,
> presumably becaues of a hard reset.
>
> I did a 
>
> mdadm /dev/md1 --fail /dev/sdd2 --remove /dev/sdd2
>
> which appeared to work correctly, and after that
>
> april:/farhome/hendrik# cat /proc/mdstat
> Personalities : [raid1] 
> md1 : active raid1 sdb2[1]
>   2391295864 blocks super 1.2 [2/1] [_U]
>   
> md0 : active raid1 sda4[0] sdc4[1]
>   706337792 blocks [2/2] [UU]
>   
> unused devices: 
> april:/farhome/hendrik# mdadm /dev/md1 --add /dev/sdd2
> Segmentation fault
> april:/farhome/hendrik# 
>
>
> What now?
>
> -- hendrik
>
>
> -- 
> 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/l341hd$6pp$1...@ger.gmane.org

You might try writing zeros on the beginning of the device you are
trying to add.  Something like

dd if=/dev/zero of=/dev/sdd2 bs=512 count=16


-- 
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/87hacpmbde@aptiva.optonline.net



Re: Mouse scrolling speed

2013-10-10 Thread Curt
On 2013-10-06, Dolev Farhi  wrote:
> Hi all
> I'm running Debian 6 with GNOME.
> My mouse scroll is somewhat slow, It takes about 5-6 scrolls to get to
> the bottom of a page.
> in the mouse control GUI there is no indication of scrolling speed.
> Googling about this brought no solutions except using XFCE.
> anyone got a clue how to speed up the mouse scroll?
>

You might try xinput.

My scroll wheel, however, if I'm understanding the output I will reveal
below correctly, is already adjusted to most the rapid setting (which is
1; the higher the value the slower the scroll).

And is this quality (scrolliness) not also application-dependant?

curty@einstein:~$ xinput list-props 9 
Device 'ImPS/2 Generic Wheel Mouse':
Device Enabled (142):   1
Device Accel Profile (261): 0
Device Accel Constant Deceleration (262):   1.00
Device Accel Adaptive Deceleration (264):   1.00



-- 
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/slrnl5dfc5.229.cu...@einstein.electron.org



Re: Tool for investigating dependency chains?

2013-10-10 Thread berenger . morel



Le 10.10.2013 15:02, Richard Owlett a écrit :

berenger.mo...@neutralite.org wrote:

Le 10.10.2013 13:36, Richard Owlett a écrit :

It does not tell me:
  A. the names of packages it recommends be also installed
  B. the description of those packages


It does. Go on that package, and press "enter". This will open a
new tab with the same info, but with the targeted package being
the main one. Not sure if I am clear... I should take a look to
sofwares to make screenshots of ncurses applications :p



Ah-ha it does do what I want - just not the way I expected.
Have got to do detailed read of the documentation.
Thanks


You're welcome


--
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/60c2fb220b38750dac246ef1a9a06...@neutralite.org



debian weather not giving weather for sid last couple of days?

2013-10-10 Thread Mitchell Laks
Hi,
Last couple of days, the debian weather page
http://edos.debian.net/weather/
has not given the weather for unstable, with no explanation.
Does anyone know what is going on?
Sounds ominous.
Thanks
Mitchell


-- 
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/20131010132130.ga7...@earthlink.net



Re: Tool for investigating dependency chains?

2013-10-10 Thread Richard Owlett

berenger.mo...@neutralite.org wrote:

Le 10.10.2013 13:36, Richard Owlett a écrit :

It does not tell me:
  A. the names of packages it recommends be also installed
  B. the description of those packages


It does. Go on that package, and press "enter". This will open a
new tab with the same info, but with the targeted package being
the main one. Not sure if I am clear... I should take a look to
sofwares to make screenshots of ncurses applications :p



Ah-ha it does do what I want - just not the way I expected.
Have got to do detailed read of the documentation.
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/5256a56f.6090...@cloud85.net



Re: apt-get vs. aptitude

2013-10-10 Thread berenger . morel



Le 10.10.2013 14:30, Erwan David a écrit :

On Thu, Oct 10, 2013 at 12:47:08PM CEST, "David L. Craig"
 said:

On 13Oct09:2153+0100, Joe wrote:

> On Wed, 09 Oct 2013 13:24:57 -0500
> Richard Owlett  wrote:
>
> >
> > Being retired, I've no aspirations of being a sysadmin.
> >
> >
> >
> If you run Linux, you already are. You don't get to choose.

Probably.  There have been reports of parents set up on
Linux platforms by children who remotely attend to the
care and feeding of the box.  Hopefully these parents are
not deemed to be lusers by their progeny.


Just say "if you have your own compuyter (whatever the OS) that
nobody manages for you, you already are a sysadmin.


Guys, I must disagree with that. It would mean that any linux distro is 
hard to maintain, and that's wrong. Plus, sysadmin have a lot more 
knowledge than simple users and power users.


Imagine that it would mean that any people making some shitty excel 
formulas would be a programmer, anyone able to change a wheel on his car 
a mechanic, anyone able to grow something a biologist, etc... sounds 
fun, but not realistic at all :)



--
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/6064429a723cd92e4d8a3ac26b13e...@neutralite.org



Re: apt-get vs. aptitude

2013-10-10 Thread Erwan David
On Thu, Oct 10, 2013 at 12:47:08PM CEST, "David L. Craig"  
said:
> On 13Oct09:2153+0100, Joe wrote:
> 
> > On Wed, 09 Oct 2013 13:24:57 -0500
> > Richard Owlett  wrote:
> > 
> > > 
> > > Being retired, I've no aspirations of being a sysadmin.
> > > 
> > > 
> > > 
> > If you run Linux, you already are. You don't get to choose.
> 
> Probably.  There have been reports of parents set up on
> Linux platforms by children who remotely attend to the
> care and feeding of the box.  Hopefully these parents are
> not deemed to be lusers by their progeny.

Just say "if you have your own compuyter (whatever the OS) that nobody manages 
for you, you already are a sysadmin.


-- 
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/20131010123033.gk1...@rail.eu.org



Re: Tool for investigating dependency chains?

2013-10-10 Thread berenger . morel

Le 10.10.2013 13:36, Richard Owlett a écrit :

It does not tell me:
  A. the names of packages it recommends be also installed
  B. the description of those packages


It does. Go on that package, and press "enter". This will open a new 
tab with the same info, but with the targeted package being the main 
one. Not sure if I am clear... I should take a look to sofwares to make 
screenshots of ncurses applications :p



--
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/8319286284dfb63e09572c1363049...@neutralite.org



Re: I have an Openoffice question for small business.

2013-10-10 Thread berenger . morel



Le 10.10.2013 10:24, Joe a écrit :

On Wed, 09 Oct 2013 23:21:29 +0200
berenger.mo...@neutralite.org wrote:


Le 09.10.2013 23:04, Joe a écrit :
> On Wed, 9 Oct 2013 12:52:43 -0300
> Ezequiel  wrote:
>
>> Thanks to all for your replies. I am actually pinning OO in order
>> to use oldstable versions. I guess I will try to compile it an
>> make my own repos. You were very helpfull.
>>
>
> Bear in mind that OOo and LO use Java for various purposes, and
> Java is
> under continuous siege from the bad guys.

But Java is not a dependency, it is only recommended. Those tools
works fine without java. I would not even have thought half a minute
to install them otherwise, and not because of security breaches in
java ( which will more often be used via internet browsers, not for
something like an office suite ).




As I said, I'm not a power user of most of LO, perhaps it isn't used
elsewhere, but it's a dependency of Base. Despite this, I had Base
installed without Java, but was unable to do much by way of 
connecting

to data without it.

I have a vague recollection that originally, OOo was written in Java
which years ago was popular for writing cross-platform applications. 
If
so, clearly LO is removing it progressively, and it may disappear 
from

Base at some point. I do know attitude of the US Dept. of Homeland
Security towards Java, and its days anywhere may be numbered.

--
Joe


Ah, no, I apologize, you were right. Base seems to have a hard 
dependency on Java, so I was really wrong.
I have no idea why it depends on Java, but it is written in C++, as the 
debtags shows, as the rest of Libre/Open Office.


To be honest, I also thought that it was written in Java until recently 
( well, I think I discovered that in the beginning of the year ), but 
someday I said that on a forum and was instantly replied that it was 
written in C++.


About it having be rewritten in C++ instead of Java, I do not know, I 
did not made any searches about that, but I strongly doubt it. C++ is as 
portable as Java ( just it needs to be recompiled and lacks standard 
portable GUI - and other features - that Java provides. But Java's 
standard GUI features are not the most used, as some Java dev said me. 
So... ). Plus, rewritten a huge... a very huge in facts, software in 
another language is really hard, especially if you come from a language 
where memory is managed by some obscure automatic mechanisms to come to 
language for which most of the power comes to RAII.

But my doubts can be wrong ;)

About Java's security problems... honestly, the only one thing which 
makes it true is that it is a popular and traditional language to write 
portable web applets. Like windows being the main target of hackers, in 
fact. I do not like Java, but I have learn that performance and security 
issues are not a programming language's problem, but a programmer's 
problem. Take a look in aptitude, try the games. Some are written in C 
or C++ and are as "beautiful" as 90's games, and they can not be run on 
my modern netbook. On the other side, some Java's one works perfectly. 
Debian really changed my mind on a lot of wrong ideas about computer 
sciences :)



--
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/034dd8fbc2a22fe633b272e341588...@neutralite.org



Re: apt-get vs. aptitude

2013-10-10 Thread Richard Owlett

Joe wrote:

On Wed, 09 Oct 2013 13:24:57 -0500
Richard Owlett  wrote:



Being retired, I've no aspirations of being a sysadmin.



If you run Linux, you already are. You don't get to choose.



I disagree. I may perform sysadmin tasks, that does not make me one.
For comparison:
A chef prepares meals for groups of people.
I've prepared breakfast for 100 people after an Easter sunrise 
service.
Does that make me a chef? Not if you seen the rest of my 
repertoire ;/





--
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/52568aff.2010...@cloud85.net



Re: Tool for investigating dependency chains?

2013-10-10 Thread Richard Owlett

berenger.mo...@neutralite.org wrote:

Le 09.10.2013 19:49, Richard Owlett a écrit :

If I can correctly read and follow instructions (friends and
family
tend to doubt), the above tells me too much about what is already
installed and not enough about what is not installed :(


Hehe, I can understand your friends, or maybe I was not clear
enough. ;)


I think the communication problem is with what I originally wrote.



You can select installed package, or not: aptitude shows all
packages you could install, not only the ones you have actually
installed.
Plus, there are here another informations that I did not spoke
about: it will show you the current state of the package, aka:
installed, automatically installed, removed or absent from the
system ( it means never installed or purged ). Those informations
are shown with the characters before the package full name ( name
+ version ). "i" means installed, "iA" means automatically
installed, "p" is for absent from the system, and "c" is for
removed ( some configuration are still system-wide installed ).
Oh, and, "B" means there is a broken dependency, but you will
guess that with the red color more than with the letter I think.
Those characters also indicate the actions aptitude will do, but
I think you will understand that quickly when you will have
played a little with that tool.



As you say, aptitude tells me much about installed packages.

It tells me only a few things about uninstalled packages:
  1. the name of the package
  2. a description of the package
  3. that the package is not installed

It does not tell me:
  A. the names of packages it recommends be also installed
  B. the description of those packages



--
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/52569157.9070...@cloud85.net



Re: apt-pinning, strange behavior

2013-10-10 Thread berenger . morel

Le 09.10.2013 19:28, Dmitrii Kashin a écrit :

berenger.mo...@neutralite.org writes:

Since I had to reinstall from my last kernel error, I decided to 
stay

with stable on that computer, but I need some softwares in less
outdated versions, like development libraries or i3 ( this one is 
not

a need but a question of comfort, I admit ), so I want to use
apt-pining.

I have set all packages from stable to a priority of 900 and testing
packages with 500.
But tzdata wants to upgrade, for an unknown reason.


Certainly it wants. According to apt_preferences(5):


Yes, it wants, because I did not specified the priority for the release 
stable-updates. This is what apt-cache policy pointed, and once fixed, 
my problem disappeared, and I finally understood that obvious issue.



You should use priority of >=990 for the target release.


In the same priority range, the package which will be installed is the 
one with the highest priority, so it is fine to have one set of package 
with 500 ( or I could take 600 or any other value ) for low priority, 
and the other at 900 ( or 800 or... ), so that the version with 900 will 
be installed against the lower one, even if the lower one is more 
recent.


Explicitly making it to a priority of 900 for stable fixes that, but 
I

can not understand why it is needed?


You have just set this priority to the whole stable repository. This
should not work at all.

Maybe it will be sane to show us how you set pins?


Here are the 2 versions, first the one which really works ( in the hope 
I did not forget something, since I have enabled stable-updates, 
stable/updates, stable and testing. So I am not sure about the 
stable/updates one. Not used to stable.):



Package: *
Pin: release a=stable
Pin-Priority: 800

Package: *
Pin: release a=stable-updates
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 500

Package: i3-wm i3
Pin: release a=testing
Pin-Priority: 900

#i3 dependencies
Package: gir1.2-glib-2.0 libc-dev-bin libc6 libc6-dev 
libgirepository-1.0-1 libglib2.0-0 libpango1.0-0 locales python-gi

Pin: release a=testing
Pin-Priority: 900

Package: clang
Pin: release a=testing
Pin-Priority: 900

#clang dependencies
Package: libclang-common-dev libgcc1 libgomp1 libitm1 libquadmath0 
libstdc++6 libobjc4

Pin: release a=testing
Pin-Priority: 900


The one which with tzdata updated to testing:

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 500

Package: i3-wm i3
Pin: release a=testing
Pin-Priority: 900

#i3 dependencies
Package: gir1.2-glib-2.0 libc-dev-bin libc6 libc6-dev 
libgirepository-1.0-1 libglib2.0-0 libpango1.0-0 locales python-gi

Pin: release a=testing
Pin-Priority: 900

Package: clang
Pin: release a=testing
Pin-Priority: 900

#clang dependencies
Package: libclang-common-dev libgcc1 libgomp1 libitm1 libquadmath0 
libstdc++6 libobjc4

Pin: release a=testing
Pin-Priority: 900


PS: I think I should probably send the package-specific priorities and 
their dependencies into specific files in preferences.d/ but I'll do 
that when I'll have a real lot of packages that I need updated. 2 
packages ( 3 in fact, I do not show opera here, to stay with the 
original situation ) can be kept in one file without making it 
unmaintainable.



--
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/4dff77b2e59cff8911bd3f6c405f5...@neutralite.org



Re: apt-get vs. aptitude

2013-10-10 Thread David L. Craig
On 13Oct09:2153+0100, Joe wrote:

> On Wed, 09 Oct 2013 13:24:57 -0500
> Richard Owlett  wrote:
> 
> > 
> > Being retired, I've no aspirations of being a sysadmin.
> > 
> > 
> > 
> If you run Linux, you already are. You don't get to choose.

Probably.  There have been reports of parents set up on
Linux platforms by children who remotely attend to the
care and feeding of the box.  Hopefully these parents are
not deemed to be lusers by their progeny.
-- 

May the LORD God bless you exceedingly abundantly!

Dave_Craig__
"So the universe is not quite as you thought it was.
 You'd better rearrange your beliefs, then.
 Because you certainly can't rearrange the universe."
__--from_Nightfall_by_Asimov/Silverberg_


signature.asc
Description: Digital signature


Bind logging

2013-10-10 Thread Paweł Ch .
Hi list,

My server don't log to proper file. It should be
/var/log/named/security.log but is /var/log/daemon.log.

I configure bind with this page https://wiki.debian.org/Bind9 and in
/var/bind9/chroot/etc/bind/named.conf.options is:

options {
.
.
};

logging {
  channel security_file {
file "/var/log/named/security.log" versions 3 size 30m;
severity dynamic;
print-time yes;
  };
  category security {
security_file;
  };
};

Thanks


Re: I have an Openoffice question for small business.

2013-10-10 Thread Joe
On Wed, 09 Oct 2013 23:21:29 +0200
berenger.mo...@neutralite.org wrote:

> Le 09.10.2013 23:04, Joe a écrit :
> > On Wed, 9 Oct 2013 12:52:43 -0300
> > Ezequiel  wrote:
> >
> >> Thanks to all for your replies. I am actually pinning OO in order
> >> to use oldstable versions. I guess I will try to compile it an
> >> make my own repos. You were very helpfull.
> >>
> >
> > Bear in mind that OOo and LO use Java for various purposes, and
> > Java is
> > under continuous siege from the bad guys.
> 
> But Java is not a dependency, it is only recommended. Those tools
> works fine without java. I would not even have thought half a minute
> to install them otherwise, and not because of security breaches in
> java ( which will more often be used via internet browsers, not for
> something like an office suite ).
> 
> 

As I said, I'm not a power user of most of LO, perhaps it isn't used
elsewhere, but it's a dependency of Base. Despite this, I had Base
installed without Java, but was unable to do much by way of connecting
to data without it.

I have a vague recollection that originally, OOo was written in Java
which years ago was popular for writing cross-platform applications. If
so, clearly LO is removing it progressively, and it may disappear from
Base at some point. I do know attitude of the US Dept. of Homeland
Security towards Java, and its days anywhere may be numbered.

-- 
Joe


--
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/20131010092436.50815...@jretrading.com