Re: ppa-purge

2017-04-06 Thread Jarno Suni
Hello!
 
No one has reported me any issues with the contributed code. I suppose it works 
perfectly fixing all the related bugs (listed here: 
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge/+merge/313001).
You can donate to me on my homepage now. (You can find the link in signature 
below.)If I get support, I'll consider publishing code of linux-purge 
(https://launchpad.net/linux-purge)

On Thursday, March 16, 2017 11:53 AM, Jarno Suni <j_s...@yahoo.co.uk> wrote:
 

 Please test the script. Related bug reports can be seen at 
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge/+merge/313001
Alternative instructions on how to get my branch are available at 
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge/+ref/master
After downloading the branch cd to ppa-purge directory and run "./ppa-purge -h" 
for help in terminal. Alternatively run "man -l debian/ppa-purge.1" for the man 
page in the directory.If you want to use bash completions, run ". 
debian/ppa-purge.bash-completion" in the directory (or apply instructions in 
http://iseborn.eu/wiki/index.php?title=Ubuntu/Setting_up_bash_completion for 
automatic configuration after boot.)
 -- Jarno Suni - http://iki.fi/8/


   -- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: ppa-purge

2017-03-16 Thread Jarno Suni
Please test the script. Related bug reports can be seen at 
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge/+merge/313001
Alternative instructions on how to get my branch are available at 
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge/+ref/master
After downloading the branch cd to ppa-purge directory and run "./ppa-purge -h" 
for help in terminal. Alternatively run "man -l debian/ppa-purge.1" for the man 
page in the directory.If you want to use bash completions, run ". 
debian/ppa-purge.bash-completion" in the directory (or apply instructions in 
http://iseborn.eu/wiki/index.php?title=Ubuntu/Setting_up_bash_completion for 
automatic configuration after boot.)

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: ppa-purge

2017-03-11 Thread Jarno Suni
The code is now available:
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge/+ref/master

On Tuesday, December 27, 2016 12:28 PM, Jarno Suni <j_s...@yahoo.co.uk> wrote:


Actually trusty-proposed is called a distribution in Debian terminology 
(https://wiki.debian.org/SourcesList). add-apt-repository can add a component 
(such as multiverse), but not a distribution for some reason. I decided to 
implemented ppa-purge so that it can purge a distribution instead of 
component(s). You can remove packages of components by other means (like by 
synaptic).

-- 
Jarno Suni - http://iki.fi/8/

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Fw: Adding a kernel removal script to linux-base or elsewhere

2017-01-13 Thread Jarno Suni


> On Friday, January 13, 2017 5:55 PM, Jarno Suni <j_s...@yahoo.co.uk> wrote:
> >>  On Friday, October 14, 2016 2:13 AM, Alberto Salvia Novella 
> <es204904...@gmail.com> wrote:
> 
> 
>>  Well, better to fix a thousand computers for the same effort than 
>>  servicing yours alone.
> 
> If you get money for fixing each computer individually, i.e. supporting each 
> client individually, it might be a better deal for you not to provide a fix 
> that 
> services them all publicly.
> 
>>  In the end of the day I need the fix for myself. Why not sharing it 
>>  then, so it becomes available in any computer from now on?
> 
> Everybody gets fixes that are publicly available, but only contributors pay 
> by 
> their work. It is not supportive that the more you contribute, the poorer you 
> get.
> 
> 
>>  That said I believe that, in general, one shall only work in what gives 
>>  good money. Because if it's that valuable to somebody, they will be 
>>  willing to pay for it.
>> 
>>  Just this case is an exception. As the diversity of contributions makes 
>>  it difficult to monetize, it's a byproduct of fixing yourself, and you 
>>  get already a different kind of value: the most powerful computing it 
>>  can be.
> 
> 
> Maybe an association, that had many members, could direct funding to wanted 
> Ubuntu software projects to make Ubuntu and/or its variations greater. The 
> amount of money requested from each member would not be big.
> 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: bash completion issue in 16.04

2017-01-11 Thread Jarno Suni
Can you give the argument as separate word without '=' ? Or remove the 
character from environment variable COMP_WORDBREAKS
That does not remove the bug, though.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2017-01-06 Thread Jarno Suni


> On Saturday, October 15, 2016 4:37 PM, Ralf Mardorf 
>  wrote:
> I only wanted to point out that already with minimal knowledge about
> writing shell scripts, it is possible to write a script, that fits to
> individual user needs. If a novice only wants to clean /boot, there are
> tons of scripts available, it requires not much time to get the links,
> when using a much used search engine. DKMS hooks could be tricky,
> they need to run before the kernel gets removed, or the DKMS dir and
> lib/modules need to be cleaned by rm, after the kernel was removed.

And how does one know, if the script works? I have analyzed many of proposed 
scripts and have noticed problems in them. Maybe they work for you, if you are 
lucky. They might e.g. purge more than you expect.

I have never removed lib/modules by rm, but I seem to have only folders for the 
kernels that I have left installed there in the folder anyway, so I do not see 
the problem. Are you sure apt/dpkg do not handle the DKMS hooks? 

> Neither do I know the byobu script, nor yours.

The latter is publicly available 
https://launchpad.net/byobu
https://github.com/dustinkirkland/byobu
It also has open bugs.

> The problem with your script seems to be, that you expect donations.
> Some FLOSS Linux developers follow this concept, too, it works for
> them, if they provide amazing software, that otherwise only could be
> provided by companies of proprietary software, due to the required time
> and manpower. Unlikely that a script to purge kernels is that important.
> If a user should run into issues when using one of the already free as
> in beer provided scripts, she could send a request to the users mailing
> list or any other forum and would get help in fixing the script.

Yes, that is how many Ubuntu users spend their time. Hanging on support 
channels due to broken software. I have done that myself, too.

> If you want to make money from FLOSS, you should offer something for
> free as in beer, too. Assuming it should be amazing software, users of
> the software are likely interested in donating. Some developers of
> amazing software don't want donations, even while many users are
> willing to donate. Some companies provide closed source software, that
> does run on a FLOSS operating system.

I have delivered "free beer" e.g. in 
http://askubuntu.com/users/21005/jarno?tab=answers=activity

Or
https://code.launchpad.net/~jarnos/ppa-purge/+git/ppa-purge/+merge/313001(Though
 I have a significantly better version still unpublished.) 
> In short, it's possible to make money. Regarding a script for
> maintenance, you more likely could earn money by teaching.

Oh, like how?

> In my experience community colleges and something like this, are more
> visited by users of proprietary operating systems, for other computer
> systems, there are usually non-profit clubs and for Linux non-profit
> LUGs.

What community colleges? What are you trying to tell? That some kind of 
association or school would fund my work?

> Good luck!

Thanks.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: ppa-purge

2016-12-01 Thread Jarno Suni
> On Thursday, December 1, 2016 3:20 PM, Xen <l...@xenhideout.nl> wrote:

> > Jarno Suni schreef op 01-12-2016 6:51:

>>  You have to be carefull with what to remove:
>> 
>>  sudo ppa-purge -s linux.dropbox.com ubuntu/
>> 
>>  would remove dropbox, but
>> 
>>  sudo ppa-purge -s archive.ubuntu.com ubuntu/
>> 
>>  might remove the whole ubuntu system!
> 
> But now you are making it even more complex, because an average user is 
> not going to know the difference.

I am not making it complex, it is complex. There are many servers for Ubuntu 
software (like you can see in Software & Updates, many of them does not have 
word ubuntu in its domain name. But hopefully user knows what he/she is 
removing, as he/she is probably the one who added the extra repositories in the 
system.

> Now you can say that you didn't make it this way... but you are giving 
> these informations that are going to confuse people here as well as 
> everywhere if they read it.

Don't shoot the messenger. I am telling people should pay attention. Though I 
have added simulation mode and recovery function in ppa-purge, so it should be 
safe to experiment. 

> If there is a problem, fix it, don't tell people to understand archaic 
> or difficult to know thought-forms ;-). I mean, demonstrate the proper 
> use case, don't feed into all the ones that are not proper. Don't give 
> attention to everything people should not use, please.

I demonstrated a proper user case above. Removing dropbox.

> Just placing this firmly in people's minds will increase the change that 
> they do the incorrect thing. Because you give attention to it. People 
> skim these mails and then subconsciously copy something they have read.

Well, this is not a support channel for end users. This is about discussion of 
development for Ubuntu.

> What we have called a Freudian slip of the tongue among other things: 
> don't feed people with the wrong stuff to do.
> 
> Not even as a way to say: don't do that.
>
> You might have read the above statement and then in a moment of lacking 
> concentration, as happens to us all at times, you might type the wrong 
> line from memory.
> 
> That's why I say: you're making it too complex. If this is documentation 

> 
> that you are doing right here, of sorts... then presenting the user with 
> 5 different forms, 2 of which are incorrect, so to speak, instead of 
> presenting the user with the one form that is correct, is not helpful.
> 
> That's all I was saying mostly. Don't panic. Everything's fine ;-).
> 
> But don't feed into chaos please. If the thing is chaotic, fine, but 
> don't present it into everyone's vision for no reason, so to speak. You 
> could even say: don't market the chaos.

blah.

> I could understand, or I can understand you would be concerned with the 
> state of the project or the changes you have made or the support you 
> have had or have not had.
> 
> But I just feel that if you let it be in this sense, if you let it rest, 
> nothing much will go wrong, I've never heard anyone complain about 
> ppa-purge ;-). And it's a nice name. Does what it says right.


It is not just for removing PPAs. Well, there are some bugs reporrted in 
Launchpad. I have tried to fix many of them in my work.
> It's a catchy name, everyone is going to remember it.

I agree it is a catchy name.

> The other alternative  you forget whether it is 
> "add-apt-repository" 
> or "apt-add-repository". I am always confused about that one.
> 
> Why? "apt-get" and then "add-apt" do not mix.
> 
> So I would even say the add-apt-repository command needs to be renamed 
> to apt-add-repository".

I guess I won't see that happening.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: ppa-purge

2016-11-30 Thread Jarno Suni
> On Wednesday, November 30, 2016 1:30 AM, Xen <l...@xenhideout.nl> wrote:

> > Jarno Suni schreef op 29-11-2016 20:11:

>>  If removing Ubuntu components such as 'multiverse' or 
> 'backports' is
>>  supposed to be supported, some user interface changes are inevitable.
> 
> Don't mind me, but I think you're making it too complex.
> 
> It's okay if you just have one standard form, you don't need several 
> alternatives to do the same thing...


Please note that there is no way to remove Ubuntu components currently as for 
removing/downgrading packages by ppa-purge.

> I think it's okay the way it is. Including the name, if my voice should 
> have any meaning here.


ppa-purge has had more than one way of giving the repository even before I 
started working on it.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: ppa-purge

2016-11-29 Thread Jarno Suni
Furthermore AFAIK PPA means an APT repository hosted at 
'http://ppa.launchpad.net'. However, ppa-purge allows removing repositories 
hosted in other servers using the ppa form: e.g. 

sudo ppa-purge -s dl.google.com ppa:linux/chrome
or shortly
sudo ppa-purge -s dl.google.com linux/chrome
will catch debline
'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main'.
For the previous case
ppa-purge -s dl.google.com -o linux -p chrome
works, too. So user gives 'linux' as PPA owner and 'chrome' as PPA name. 
Do these confuse users?

Bash's tab completion works pretty well with the previous ones, except maybe 
with 'ppa:' form, since the colon seems to cause some problems probably due to 
being treated as word separator. I am not sure, is it worth messing with 
COMP_WORDBREAKS variable, though.

"debline" form that add-apt-repository supports, and URL form that 
add-apt-repository supports, too, but that is undocumented, are not currently 
supported by ppa-purge.

I suppose having GNU style long options would make it easier for users to use 
tab completions (and not that much help/manual).

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


ppa-purge

2016-11-28 Thread Jarno Suni
I have contributed to ppa-purge a lot this year. It can also remove other 
repositories than Launchpad PPAs. Would it be better to call it 
remove-apt-repository? If not, I suppose I should do a merge proposal. But I 
can't. And I have not received any support lately. Nor any feedback.
https://answers.launchpad.net/ppa-purge/+question/404025

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-18 Thread Jarno Suni
> On Friday, October 14, 2016 1:18 AM, Gunnar Hjalmarsson  
> wrote:

> > Hi Jarno,
> 

> The cold truth is that you can't make money from the kind of help script 
> you have written. People in this community contribute their work all the 
> time for free. We contribute our time and skill, and benefit from 
> contributions from others.


Well, there are software developers paid by Canonical; they write code to 
Ubuntu. E.g. 
Michael Vogt who has written unattended-upgrades and some other apt-related 
stuff.

Ubuntu still does not provide satisfactory automatic kernel removal system at 
least by default. Many end users still get their system wrecked due to kernels 
filling the system. Canonical could do something to help users of supported 
Ubuntu releases to deal with the awkward issue easily. Funding my script would 
be one such thing.

I also have considered publishing the script, and linking a donate button 
somewhere. That way people who have benefited from the script and who maybe are 
not contributors themselves could show some gratitude (if they are aware of 
such a button). But if I believe Gunnar Hjalmarsson, they would not pay anyway.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-15 Thread Jarno Suni
> On Saturday, October 15, 2016 6:23 PM, Ralf Mardorf 
>  wrote:


> Some advices, especially from the Ubuntu community, on official Ubuntu
> channels, are encouraging novices to learn. Those sites are monitored by
> the Ubuntu community. Even blogs that are not official Ubuntu
> channels, aren't necessarily bad.
> 
> IMO at least
> 
> "Cryptic Shell Commands
> 
> There are various cryptic shell incantations floating around help sites
> and search engines that promise to remove older kernels. Copy-and-paste
> mysterious incantations into your system at your own risk."
> 
> should read
> 
> "Shell commands and scripts
> 
> There are help sites that help to remove older kernels, too.
> Before you copy-and-paste or install scripts suggested by users of
> official Ubuntu channels, send a request to this channel, to ensure
> that you would do the right thing. Be even more careful with hints from
> websites, that aren't monitored by the Ubuntu community."


I have tried to make my script safe. Besides it has an optional simulation 
mode: no files or packages will be removed, when using it; the script forces to 
run the simulation mode as normal user. And the script has a bug tracker in 
Launchpad, so people can easily find known issues with the script.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-15 Thread Jarno Suni
> On Saturday, October 15, 2016 6:55 PM, Xen  wrote:


> I think this is a form of vandalism Ralf. A paranoid message about how 
> users must double check the correct source of whatever script they use. 
> Someone points you to a page he's done and you immediately start to edit 
> it? Because you know better? Jeez...


FWIW, actually I have not written that part of the page. That is Ian Weissers' 
text.
https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels?action=diff=10=9

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-15 Thread Jarno Suni
> On Saturday, October 15, 2016 4:37 PM, Ralf Mardorf 
>  wrote:

> > Jarno, please reply to the list only,

ok

> I only wanted to point out that already with minimal knowledge about
> writing shell scripts, it is possible to write a script, that fits to
> individual user needs. If a novice only wants to clean /boot, there are
> tons of scripts available, it requires not much time to get the links,
> when using a much used search engine. DKMS hooks could be tricky,
> they need to run before the kernel gets removed, or the DKMS dir and
> lib/modules need to be cleaned by rm, after the kernel was removed.
> 
> Just to mention one link out of trillions:
> 
> http://ubuntuhandbook.org/index.php/2016/05/remove-old-kernels-ubuntu-16-04/


It is kind of sad that you point us to a blog post with commercials. The 
substance of that blog post is copied from the Ubuntu Community documentation 
page mainly I have written:
https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels
No credits nor reference mentioned, of course.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-15 Thread Jarno Suni
> On Friday, October 14, 2016 1:18 AM, Gunnar Hjalmarsson  
> wrote:


> There is a script in the archive to help remove old kernels. If I had 
> several old kernels installed, I could easily install the byobu package 
> and run the purge-old-kernels command.

Well, byobu package does not have the script in Trusty; bikeshed has, but even 
that not in Precise IIRC.
Anyway, you could use a PPA.

> Now you tell us that you have written a new script to serve the same 
> purpose but with some improvements. 

Partially, yes. My script can purge new kernels, too :P purge-old-kernels is a 
pretty simple script with some bugs and limitations. E.g. 
https://bugs.launchpad.net/byobu/+bug/1569228
though there has been some attempt to fix things in git.

> However, you won't show anybody the 
> script unless you get paid enough money in advance. Did I get it right? 
> If I did, it's a very odd 'offer' to an open source community.

No. I'll possibly get paid by Bountysource only after I have published the code 
and it has been accepted by backers as a solution to the issue. To be more 
specific, refer to 
https://github.com/bountysource/core/wiki/Frequently-Asked-Questions
I wish the information on the page was correct, but according to rappo on the 
IRC channel:
Oct 11 22:55:22 actually, that needs to be updated.. 
time-limited fundraisers have been removed in favor of monthly recurring, 
salt.bountysource.com

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-15 Thread Jarno Suni
> On Saturday, October 15, 2016 3:06 PM, Jarno Suni <j_s...@yahoo.co.uk> wrote:

> > On Friday, October 14, 2016 2:11 AM, J Fernyhough <j.fernyho...@gmail.com> 
> wrote:
> 
> 
>> Doesn't `apt-get autoremove` remove old kernel versions already? (IIRC 
> it keeps three? old versions)
> 
> 
> It depends on script 
> /etc/kernel/postinst.d/apt-auto-removal and when it is run last time, which 
> automatically 
> installed kernels it does NOT remove. `apt-get autoremove` removes other 
> packages that are automatically installed and that no package depends on, 
> too, 
> which may or may not be wanted. It may be unable to remove old kernels in 
> some 
> cases when /boot or system is full.

System may be so clogged that even dpkg is unable to remove packages, but my 
script can.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-15 Thread Jarno Suni
On Friday, October 14, 2016 2:11 AM, J Fernyhough  
wrote:

>Doesn't `apt-get autoremove` remove old kernel versions already? (IIRC it 
>keeps three? old versions)


It depends on script 
/etc/kernel/postinst.d/apt-auto-removal and when it is run last time, which 
automatically 
installed kernels it does NOT remove. `apt-get autoremove` removes other 
packages that are automatically installed and that no package depends on, too, 
which may or may not be wanted. It may be unable to remove old kernels in some 
cases when /boot or system is full. My script is designed to handle such cases, 
too. My script can even remove kernels that are unknown to the package 
management system.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-15 Thread Jarno Suni
> On Friday, October 14, 2016 3:18 AM, Ralf Mardorf 
>  wrote:

 
> I don't need to care about dkms, an universal script must care about it,
> too. I only need to care about lowlatency, an universal script should
> be able to handle all types of kernels, including local builds. An
> universal script should provide options, for example to keep two or
> tree kernels of the same type.

My script handles different types of kernels. Including signed kernels.

And you can keep the wanted number of kernels of each series non-interactively 
(and of course interactively). For example, in Trusty, if you have 
linux-image-generic and linux-image-generic-lts-xenial installed, you could 
keep e.g. 3 latest kernels of each series. (The one that the meta kernel 
depends on and 2 earlier versions, if installed.) `purge-old-kernels` and 
`apt-get autoremove` do not have this feature.

My script does not care about dkms, if that is not done automatically by 
standard tools. I don't know what kind of care you mean.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-13 Thread Jarno Suni
Okay, I have created the project in Launchpad. I am using git.
If I get enough support, I will publish the script. Here is where you can 
support:
https://www.bountysource.com/issues/38300038-feature-request-the-command-should-work-like-this
 -- 
Jarno Suni - http://iki.fi/8/ 



> On Thursday, October 6, 2016 4:42 PM, Jarno Suni <j_s...@yahoo.co.uk> wrote:
> > Hello!
> 
> What is the recommended way to publish the script? I guess Launchpad would be 
> the right place. And using Git repository might be a good idea. I have got a 
> Launchpad account (jarnos). Is it better to create a project in Launchpad or 
> to 
> create a PPA? Detailed instruction would be welcome.
> 
> -- 
> Jarno Suni - http://iki.fi/8/ 
> 
> 
> 
>>  On Tuesday, September 27, 2016 10:32 PM, Jarno Suni 
> <j_s...@yahoo.co.uk> wrote:
>>  > Here is some update. My script does not use linux-version anymore. But 
> I named 
>>  the script linux-purge. It can remove kernels even in some problem cases 
> where 
>>  e.g. there are dependency problems due to an unsuccessful kernel update 
> (e.g. 
>>  due to full /boot partition). It provides optional UI for interactive 
> checklist 
>>  based kernel removal. It does not support kfreebsd-image and gnumach-image 
>>  kernels, but only Linux kernels and it is designed to work in any flavor of 
> 
>>  Ubuntu.
>>  Here is a demo that shows it in action: 
>>  https://youtu.be/TpsZoAnOVTU
>> 
>>  I have not published the script yet, but maybe later, if there is enough 
>>  interest.
>>  -- 
>>  Jarno Suni - http://iki.fi/8/ 
>> 
>> 
>> 
>> 
>>>   On Tuesday, May 24, 2016 2:29 PM, Jarno Suni 
> <j_s...@yahoo.co.uk> 
>>  wrote:
>>>   > Now that linux-base is part of .?ubuntu 16.04, I think it would 
> be 
>>  good to add a 
>>>   linux-kernel removal tool to linux-base. On the other hand, I think 
> such a 
>>>   script is especially useful for some older releases, since e.g. Trusty 
> 
>>  tends to 
>>>   mark kernel updates as being manually installed packages and as such 
>>>   'apt-get autoremove --purge' can not purge them. (
>>>   https://bugs.launchpad.net/ubuntu/vivid/+source/aptdaemon/+bug/1439769
>>>   https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1492709
>>>   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637)
>>>   If automatic removal of unneeded kernels is not enabled, /boot fills 
> up, 
>>  and 
>>>   blocks kernel updates:
>>>   
> https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1054927
>>> 
>>>   There is purge-old-kernels currently at byobu repository, but maybe it 
> is 
>>  too 
>>>   simple, and has some bugs:
>>>   https://bugs.launchpad.net/byobu/+bug/1569228
>>>   https://bugs.launchpad.net/bikeshed/+bug/1532153
>>>   I have rewritten it to fix those at 
>>> 
>>>   https://github.com/dustinkirkland/bikeshed/pull/1
>>>   when purge-old-kernels was located at bikeshed, and as I have written 
> in 
>>  the 
>>>   (last) comment: "I have written an enhanced script for similar 
> purpose 
>> 
>>>   again, but maybe it is not good to call it purge-old-kernels, since it 
> can 
>>  be 
>>>   used to purge newer kernels, too (but keeping the kernels that 
> installed 
>>  kernel 
>>>   meta packages depend on and given number of older ones). It currently 
> uses 
>>>   linux-version from linux-base package to sort kernel releases as 
> needed. I 
>>  am 
>>>   looking for a suitable place to publish the bash script."
>>> 
>>>   Finding meta kernel packages is problematic. I have used regular 
> expression 
>> 
>>>   matching the package names: 
>>>   http://askubuntu.com/q/775830/21005It seems to work in Ubuntu, but not 
> in 
>>  Debian 
>>>   as such, I think. Also getting versioned kernels (and packages related 
> to 
>>  kernel 
>>>   of specific release) may be problematic in general:
>>>   https://lists.debian.org/deity/2016/05/msg00115.html
>>> 
>>>   So how about adding some ubuntu-purge, linux-purge or kernel-purge in 
>>>   linux-base? Should it support 
>>>   kfreebsd-image and gnumach-image that are listed by "apt-config 
>>  dump"?
>>>   -- 
>>>   Jarno Suni - http://iki.fi/8/ 
>>> 
>> 
> 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-10-06 Thread Jarno Suni
Hello!

What is the recommended way to publish the script? I guess Launchpad would be 
the right place. And using Git repository might be a good idea. I have got a 
Launchpad account (jarnos). Is it better to create a project in Launchpad or to 
create a PPA? Detailed instruction would be welcome. 
 
-- 
Jarno Suni - http://iki.fi/8/ 



> On Tuesday, September 27, 2016 10:32 PM, Jarno Suni <j_s...@yahoo.co.uk> 
> wrote:
> > Here is some update. My script does not use linux-version anymore. But I 
> > named 
> the script linux-purge. It can remove kernels even in some problem cases 
> where 
> e.g. there are dependency problems due to an unsuccessful kernel update (e.g. 
> due to full /boot partition). It provides optional UI for interactive 
> checklist 
> based kernel removal. It does not support kfreebsd-image and gnumach-image 
> kernels, but only Linux kernels and it is designed to work in any flavor of 
> Ubuntu.
> Here is a demo that shows it in action: 
> https://youtu.be/TpsZoAnOVTU
> 
> I have not published the script yet, but maybe later, if there is enough 
> interest.
> -- 
> Jarno Suni - http://iki.fi/8/ 
> 
> 
> 
> 
>>  On Tuesday, May 24, 2016 2:29 PM, Jarno Suni <j_s...@yahoo.co.uk> 
> wrote:
>>  > Now that linux-base is part of .?ubuntu 16.04, I think it would be 
> good to add a 
>>  linux-kernel removal tool to linux-base. On the other hand, I think such a 
>>  script is especially useful for some older releases, since e.g. Trusty 
> tends to 
>>  mark kernel updates as being manually installed packages and as such 
>>  'apt-get autoremove --purge' can not purge them. (
>>  https://bugs.launchpad.net/ubuntu/vivid/+source/aptdaemon/+bug/1439769
>>  https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1492709
>>  https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637)
>>  If automatic removal of unneeded kernels is not enabled, /boot fills up, 
> and 
>>  blocks kernel updates:
>>  https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1054927
>> 
>>  There is purge-old-kernels currently at byobu repository, but maybe it is 
> too 
>>  simple, and has some bugs:
>>  https://bugs.launchpad.net/byobu/+bug/1569228
>>  https://bugs.launchpad.net/bikeshed/+bug/1532153
>>  I have rewritten it to fix those at 
>> 
>>  https://github.com/dustinkirkland/bikeshed/pull/1
>>  when purge-old-kernels was located at bikeshed, and as I have written in 
> the 
>>  (last) comment: "I have written an enhanced script for similar purpose 
> 
>>  again, but maybe it is not good to call it purge-old-kernels, since it can 
> be 
>>  used to purge newer kernels, too (but keeping the kernels that installed 
> kernel 
>>  meta packages depend on and given number of older ones). It currently uses 
>>  linux-version from linux-base package to sort kernel releases as needed. I 
> am 
>>  looking for a suitable place to publish the bash script."
>> 
>>  Finding meta kernel packages is problematic. I have used regular expression 
> 
>>  matching the package names: 
>>  http://askubuntu.com/q/775830/21005It seems to work in Ubuntu, but not in 
> Debian 
>>  as such, I think. Also getting versioned kernels (and packages related to 
> kernel 
>>  of specific release) may be problematic in general:
>>  https://lists.debian.org/deity/2016/05/msg00115.html
>> 
>>  So how about adding some ubuntu-purge, linux-purge or kernel-purge in 
>>  linux-base? Should it support 
>>  kfreebsd-image and gnumach-image that are listed by "apt-config 
> dump"?
>>  -- 
>>  Jarno Suni - http://iki.fi/8/ 
>> 
> 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Adding a kernel removal script to linux-base or elsewhere

2016-09-27 Thread Jarno Suni
Here is some update. My script does not use linux-version anymore. But I named 
the script linux-purge. It can remove kernels even in some problem cases where 
e.g. there are dependency problems due to an unsuccessful kernel update (e.g. 
due to full /boot partition). It provides optional UI for interactive checklist 
based kernel removal. It does not support kfreebsd-image and gnumach-image 
kernels, but only Linux kernels and it is designed to work in any flavor of 
Ubuntu.
Here is a demo that shows it in action: 
https://youtu.be/TpsZoAnOVTU

I have not published the script yet, but maybe later, if there is enough 
interest.
-- 
Jarno Suni - http://iki.fi/8/ 



> On Tuesday, May 24, 2016 2:29 PM, Jarno Suni <j_s...@yahoo.co.uk> wrote:
> > Now that linux-base is part of .?ubuntu 16.04, I think it would be good to 
> > add a 
> linux-kernel removal tool to linux-base. On the other hand, I think such a 
> script is especially useful for some older releases, since e.g. Trusty tends 
> to 
> mark kernel updates as being manually installed packages and as such 
> 'apt-get autoremove --purge' can not purge them. (
> https://bugs.launchpad.net/ubuntu/vivid/+source/aptdaemon/+bug/1439769
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1492709
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637)
> If automatic removal of unneeded kernels is not enabled, /boot fills up, and 
> blocks kernel updates:
> https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1054927
> 
> There is purge-old-kernels currently at byobu repository, but maybe it is too 
> simple, and has some bugs:
> https://bugs.launchpad.net/byobu/+bug/1569228
> https://bugs.launchpad.net/bikeshed/+bug/1532153
> I have rewritten it to fix those at 
> 
> https://github.com/dustinkirkland/bikeshed/pull/1
> when purge-old-kernels was located at bikeshed, and as I have written in the 
> (last) comment: "I have written an enhanced script for similar purpose 
> again, but maybe it is not good to call it purge-old-kernels, since it can be 
> used to purge newer kernels, too (but keeping the kernels that installed 
> kernel 
> meta packages depend on and given number of older ones). It currently uses 
> linux-version from linux-base package to sort kernel releases as needed. I am 
> looking for a suitable place to publish the bash script."
> 
> Finding meta kernel packages is problematic. I have used regular expression 
> matching the package names: 
> http://askubuntu.com/q/775830/21005It seems to work in Ubuntu, but not in 
> Debian 
> as such, I think. Also getting versioned kernels (and packages related to 
> kernel 
> of specific release) may be problematic in general:
> https://lists.debian.org/deity/2016/05/msg00115.html
> 
> So how about adding some ubuntu-purge, linux-purge or kernel-purge in 
> linux-base? Should it support 
> kfreebsd-image and gnumach-image that are listed by "apt-config dump"?
> -- 
> Jarno Suni - http://iki.fi/8/ 
> 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Dropbox wants to update

2016-09-27 Thread Jarno Suni
Hi

I have installed nautilus-dropbox on Trusty. Now it tells I have to update in 
order to continue using the product. If I follow instructions, I am guided to 
install a .deb that conflicts nautilus-dropbox. How to proceed?
 -- 
Jarno Suni - http://iki.fi/8/ 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Adding a kernel removal script to linux-base or elsewhere

2016-05-24 Thread Jarno Suni
Now that linux-base is part of .?ubuntu 16.04, I think it would be good to add 
a linux-kernel removal tool to linux-base. On the other hand, I think such a 
script is especially useful for some older releases, since e.g. Trusty tends to 
mark kernel updates as being manually installed packages and as such 'apt-get 
autoremove --purge' can not purge them. (
https://bugs.launchpad.net/ubuntu/vivid/+source/aptdaemon/+bug/1439769
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1492709
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637)
If automatic removal of unneeded kernels is not enabled, /boot fills up, and 
blocks kernel updates:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1054927

There is purge-old-kernels currently at byobu repository, but maybe it is too 
simple, and has some bugs:
https://bugs.launchpad.net/byobu/+bug/1569228
https://bugs.launchpad.net/bikeshed/+bug/1532153
I have rewritten it to fix those at 

https://github.com/dustinkirkland/bikeshed/pull/1
when purge-old-kernels was located at bikeshed, and as I have written in the 
(last) comment: "I have written an enhanced script for similar purpose again, 
but maybe it is not good to call it purge-old-kernels, since it can be used to 
purge newer kernels, too (but keeping the kernels that installed kernel meta 
packages depend on and given number of older ones). It currently uses 
linux-version from linux-base package to sort kernel releases as needed. I am 
looking for a suitable place to publish the bash script."

Finding meta kernel packages is problematic. I have used regular expression 
matching the package names: 
http://askubuntu.com/q/775830/21005It seems to work in Ubuntu, but not in 
Debian as such, I think. Also getting versioned kernels (and packages related 
to kernel of specific release) may be problematic in general:
https://lists.debian.org/deity/2016/05/msg00115.html

So how about adding some ubuntu-purge, linux-purge or kernel-purge in 
linux-base? Should it support 
kfreebsd-image and gnumach-image that are listed by "apt-config dump"?
-- 
Jarno Suni - http://iki.fi/8/ 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss