port selfupdate failed because of signature

2015-10-14 Thread Randal L. Schwartz

Worked up until two days ago, then I'm getting this:

Locohost.local:~ % get.port
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  210.00 bytes/sec
total size is 27013120  speedup is 257267.81
receiving file list ... done

sent 36 bytes  received 76 bytes  74.67 bytes/sec
total size is 512  speedup is 4.57
Error: Failed to verify signature for MacPorts source!
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets

Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature 
for MacPorts source!
    

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Perl/Unix consulting, Technical writing, Comedy, etc. etc.
Still trying to think of something clever for the fourth line of this .sig
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: MariaDB vs MySQL for Wordpress CMS

2012-10-21 Thread Randal L. Schwartz
>>>>> "Markus" == Markus Neuenschwander  writes:

Markus> What do you think? Did MySQL loose popularity in web projects
Markus> (after new owner Oracle)? Do you know numbers about installation
Markus> base?

Listen to my interview with Monty himself: http://twit.tv/show/floss-weekly/194

In short, *stop* using MySQL.  Use MariaDB.  It's now the *upstream* of
MySQL, and is 99.9% compatible in its default install.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Google Fonts in Gimp

2012-05-10 Thread Randal L. Schwartz
>>>>> "Jasper" == Jasper Frumau  writes:

Jasper> I added several fonts to my Mac's Font Book. They are however
Jasper> not loaded in the latest MacPorts Gimp, not even after
Jasper> restarting. A reload button for fonts in Gimp seems to be
Jasper> missing to. How can I get these fonts like Magra to load?

Does Gimp use X11 fonts, or mac fonts?  I suspect it uses X11 fonts, in
which case adding them to the mac font catalog will do nothing.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


any workaround or fix for defect 32200

2011-12-30 Thread Randal L. Schwartz

I just upgraded to Lion, and in the process of reinstalling
mod_perl2, came up against the problem listed in bug 32200.

Is there a workaround for it?  Does downgrading to perl5.10 help?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Forum?

2011-10-15 Thread Randal L. Schwartz
>>>>> "Ryan" == Ryan Schmidt  writes:

Ryan> I like mailing lists better because the conversation is delivered
Ryan> directly to me without me having to do anything, beyond having my
Ryan> email program open, which I generally already do. I hear the "new
Ryan> message" sound and can see that new messages have arrived in the
Ryan> folders into which I sort my mailing list messages.

I prefer mailing lists that have NNTP servers attached, so I don't have
to pull down anything I don't want to read.

Ryan> Whereas with a forum, I have to constantly go visit the forum web
Ryan> site to see if any new messages have arrived. I seldom remember to
Ryan> do so.

It has gotten better with RSS feeds.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: pre 2.0 EOL timeframe?

2011-07-20 Thread Randal L. Schwartz
>>>>> "Ryan" == Ryan Schmidt  writes:

Ryan> The ability to install as an ordinary user has existed for years.

Ryan> The ability for MacPorts to run with sudo but drop privileges to
Ryan> an ordinary user has existed since 1.9, and will be on by default
Ryan> (and MacPorts will create that user for you) in 2.0.

Thanks for clarifying that.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: pre 2.0 EOL timeframe?

2011-07-20 Thread Randal L. Schwartz
>>>>> "Ryan" == Ryan Schmidt  writes:

Ryan> MacPorts 2.0 isn't fundamentally different from MacPorts 1.9. I'm
Ryan> not certain why we didn't call it 1.10. Blame the marketing
Ryan> department. :)

Oh, for some reason, I thought this was an entirely different engine or
something.  Maybe I was confused by the ability to install it as an
ordinary user not needing sudo in front of every port command.

In that case, does the "selfupdate" I'm doing every day automatically
bring me to 2.0 when it's final?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: pre 2.0 EOL timeframe?

2011-07-20 Thread Randal L. Schwartz
>>>>> "Daniel" == Daniel J Luke  writes:

Daniel> So wait a week or two and then upgrade?

Well, there's that.  Is there an easily accessed release note about
upgrading from 1.x?

Daniel> ... or test it out on a non-production system?

Sadly, I don't have any of these.  Thus, I usually just wait a bit after
new things are announced to let everyone *else* be beta testers. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: pre 2.0 EOL timeframe?

2011-07-20 Thread Randal L. Schwartz
>>>>> "Daniel" == Daniel J Luke  writes:

Daniel> Traditionally, we only support the current release...

Daniel> I'm not sure why you'd want to avoid 2.0 as opposed to any other
Daniel> MacPorts release...

I'm always a bit nervous about .0's.  Maybe it's just undue paranoia.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


pre 2.0 EOL timeframe?

2011-07-20 Thread Randal L. Schwartz

I'm not terribly interested in upgrading to 2.0 until I have to bite the
bullet for Lion, which I'm hoping is a few months from now.  (No
bleeding edge for my production machine, thank you.)

Will 1.x be supported for at least a bit longer?  What is the EOL
timeframe?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Trickle bandwidth shaper

2011-07-19 Thread Randal L. Schwartz
>>>>> "Ralph" == Ralph Seichter  writes:

Ralph> as I could not find a MacPorts version of Marius Eriksen's "trickle"
Ralph> (see http://monkey.org/~marius/pages/?page=trickle), I tried to build
Ralph> Trickle 1.06 on OS X 10.6.8 myself. After installing the libevent 2.0.10
Ralph> port and running configure, the build fails with the following
Ralph> messages:

Since it's looking like you're dead-ending here, have you considered
just using the OSX built-in DUMMYNET traffic shaping?  See "man ipfw"
for details.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Postfix (Fetchmail and Dovecote) on OSX 10.6.7 ???

2011-06-16 Thread Randal L. Schwartz
>>>>> "William" == William H Magill  writes:

William> Is anyone working Postfix on OSX? (10.6.7)

Postfix is part of the base install of OSX.  No need for a port any more.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: rsync problem

2011-03-29 Thread Randal L. Schwartz
>>>>> "Pol" == Pol Hallen  writes:

Pol> On osx with rsync (with same rsync options) I've this error:

Pol> failed verification -- update discarded (will try again)

Are there two files in the directory that have the same name differing
only in case?  That's a constant problem when using rsync to other unix
and linux servers.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Messed up Perl

2010-10-04 Thread Randal L. Schwartz
>>>>> "Hal" == Hal Vaughan  writes:

>> Using the system perl should be as simple as changing your shebang
>> line.  (kerbang? Never heard it called that before.)

Hal> I've heard kerbang, shebang, and a few other variations.  I've been
Hal> in some groups where if you use the wrong term they get rather
Hal> offended.  I just use whichever term comes to mind.

It was originally "shebang", a contraction of "sharp bang", where
sharp is what some people call the "#".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: tsocks does not work

2010-08-17 Thread Randal L. Schwartz
>>>>> "Ryan" == Ryan Schmidt  writes:

Ryan> Meanwhile, this post says you can get SOCKS support on the Mac without 
installing any additional software; it's all already built-in:

Ryan> http://bastardbanter.wordpress.com/2007/05/23/how-to-socksify-a-mac/

Fail.  That handles all the Aqua apps.  But anything that is strictly
unix, or X11, doesn't go through the same network open routines.

Thus, we need something to override socket(2), which happens at a
different level.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: tsocks does not work

2010-08-17 Thread Randal L. Schwartz
>>>>> "James" == James Hozier  writes:

James> Do you know if dante works similarly?

Hadn't seen dante before, but I wouldn't be surprised if it also fails.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: tsocks does not work

2010-08-17 Thread Randal L. Schwartz
>>>>> "James" == James Hozier  writes:

James> Ah, both those lines do not work; I get the same error.
James> Is tsocks the same as the 'torify' command? Is there an alternative I
James> can use to run programs through Tor? Like there is Torbutton for
James> Firefox but I remember I used to be able to do 'torify firefox' and
James> it would start Firefox already using Tor.

No.  Torifying a web browser means to set its web-proxy to the local
tor-ified web proxy, which in turn knew how to be a member of the tor
network.

tsocks intercepted calls to "socket(2)" at the lowest level, replacing
them with versions that would call something like tor_socket() which
also knew how to get onto the tor network.

tsocks was rather magical.  No surprise the magic dust wore out.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


perl5.10 defines -Dusemultiplicity=y ??

2010-08-12 Thread Randal L. Schwartz

Why does the perl5.10 port define -Dusemultiplicity=y unconditionally,
when the perl5.8 port didn't (and didn't even have a variant that did).

Can we please get that removed? (Ditto in perl5.12).
Or at least hide it in a variant?

It breaks mod_perl2, for example.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MacPorts 1.9.0 has been released

2010-06-09 Thread Randal L. Schwartz
>>>>> "Joshua" == Joshua Root  writes:

Joshua> On 2010-6-10 05:52 , Randal L. Schwartz wrote:
>> I'm also registering all my requested ports, so that "sudo port
>> uninstall leaves" does the right thing.  And amazingly, it does!
>> Unfortunately, you have to run it a few times to get it settled down.

Joshua> You should only have to run it once if you use
Joshua> --follow-dependencies.

Ahh, but I was being careful not to miss dependencies that I would
rather not lose either.

For example, A depends on B depends on C.  if A is a leaf, then it
exposes B as a leaf on the next round, but if I really want to keep B, I
need to mark it before the following round.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MacPorts 1.9.0 has been released

2010-06-09 Thread Randal L. Schwartz
>>>>> "Kyungguk" == Kyungguk Min  writes:

Kyungguk> I used this command (of course, I looked at man page for what
Kyungguk> that command is) and that removed all installed packages. I am
Kyungguk> not sure but in my feeling it seems to remove the packages
Kyungguk> installed before the update.

That's why you have to use "port setrequested port(s)" before the first
time, otherwise it removes everything installed before 1.9. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MacPorts 1.9.0 has been released

2010-06-09 Thread Randal L. Schwartz
>>>>> "Scott" == Scott Haneda  writes:

>> I'm also registering all my requested ports, so that "sudo port
>> uninstall leaves" does the right thing.  And amazingly, it does!
>> Unfortunately, you have to run it a few times to get it settled down.

Scott> Can you elaborate on this, I am not familiar with this procedure.

I wasn't privvy to the development of it, so please, devs, step in
if I get this wrong...

but apparently, each time you say "port install FOO", that port is
marked "requested" automatically.  The "leaves" pseudo-target shows all
ports that are not either requested or dependencies of requested ports.

Since this is new to 1.9, you have to teach it what you've requested in
the past.  Say "port list unrequested", and from that list, mark your
ports of interest with "sudo port setrequested port1 port2 port3...".

Once you've done that, you can say "port list leaves", and either mark
some of them requested, or "sudo port uninstall leaves".  Repeat until
there are no more leaves.

Basically, it's like the old "port_cutleaves" port, but built in.  Thanks!

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MacPorts 1.9.0 has been released

2010-06-09 Thread Randal L. Schwartz
>>>>> "Scott" == Scott Haneda  writes:

Scott> After a bit of time, all was updated, and it seems to work well.
Scott> I thought I would report a successful update case.  It went
Scott> smoothly.

Similar experience here, and I'm *really* liking that it now takes a
fraction of a second to say "port outdated" instead of 30 seconds.

I'm also registering all my requested ports, so that "sudo port
uninstall leaves" does the right thing.  And amazingly, it does!
Unfortunately, you have to run it a few times to get it settled down.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: "sudo port upgrade outdated" fills HDD

2010-02-17 Thread Randal L. Schwartz
>>>>> "Bradley" == Bradley Giesbrecht  writes:

Bradley> Isn't there a 4GB kit for you MBP?

Bradley> http://www.18004memory.com/apple-macbook-pro.asp

Might be a third-party kit, but as far as I recall, Apple didn't promise
suitability for more than 3GB in this model, and I don't want to run the risk
of overtaxing anything in my one and only work machine.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Fwd: "sudo port upgrade outdated" fills HDD

2010-02-17 Thread Randal L. Schwartz
>>>>> "Sam" == Sam Kuper  writes:

Sam> Thanks for the tip, Randal. I've now installed iStat Menus, following
Sam> your suggestion. Pity there isn't a way to show the swap size on the
Sam> menubar directly, but clicking on the MEM icon is handy enough. Currently
Sam> running at 508MB, which doesn't seem too bad, but so that I can benchmark
Sam> your "if it's above 2GB, reboot" suggestion proportionally to my system,
Sam> may I ask how much RAM your laptop has installed?

I'm talking about the "swap" number, which is further down.  And that's disk
space that's *added* to your ram to give you more "virtual" ram.
Unfortunately, as they say, virtual ram is *real* disk, and it's slow.

But for your info, I have 3GB of ram installed.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: "sudo port upgrade outdated" fills HDD

2010-02-17 Thread Randal L. Schwartz
>>>>> "Jochen" == Jochen Küpper  writes:

Jochen> On 17.02.2010, at 18:34, Randal L. Schwartz wrote:
>> I've now taken to watching the swap size on my laptop (using iStatMenus), and
>> if it ever gets above 2GB total, I just reboot, because at that point,
>> everything is gonna be gummy, and that seems to be the only way to clear it.

Jochen> Hmm, I cannot confirm that. On my MacBook (Core Duo, no “2”!) I just
Jochen> now have 2,75 GB swap (and Free is only 116 MB), according to iStat
Jochen> Menu, uptime is 18:47 up 24 days, 4:26, 3 users, load averages: 0,43
Jochen> 0,44 0,39 and performance is perfect… really!

Well, I have a half dozen things open all the time (Safari, Terminal,
OmniFocus, iCal, and sometimes Firefox, etc), and the penalty isn't
when staying within a single app, but switching to another app,
as that app's pages are probably now on disk.

I wish I could install more RAM in my 2007 MBP, but I'm already maxxed at 3GB,
and I can't afford a new laptop just yet.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Fwd: "sudo port upgrade outdated" fills HDD

2010-02-17 Thread Randal L. Schwartz
>>>>> "Sam" == Sam Kuper  writes:

Sam> Now, I've just had a look in /var/vm . It contains a dozen swapfiles of
Sam> 67108864 bytes each, plus a sleepimage file of 2147483648 bytes. I've no
Sam> idea whether this is normal or not, though: I've never looked in that
Sam> directory before.

The problem with OSX's "add swap files as necessary" strategy is that
it seems like it never clears them back out, unless the moon is full
on a Tuesday, or something.

I've now taken to watching the swap size on my laptop (using iStatMenus), and
if it ever gets above 2GB total, I just reboot, because at that point,
everything is gonna be gummy, and that seems to be the only way to clear it.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Uninstalling a Port

2009-12-22 Thread Randal L. Schwartz
>>>>> "Peter" == Peter Hindrichs  writes:

Peter> On 2009-12-22, at 21:32 , nox wrote:

>> A dependent of X is a port Y which depends on X.
>> A dependency of X is a port Y which X depends on.
>> 
Peter> So if port Y depends on say A, B, C, what would be the correct way to 
uninstall Y and its dependencies. 

Oh, so now you do want it the other way.

In your case, "port uninstall Y" would immediately work
but you also want to remove anything that was installed
because you had also installed Y, that *nothing else* depends on.

I thought you were trying to uninstall something that could
*not* be uninstalled because other things depended on it!

Wow.  Too many close words.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Uninstalling a Port

2009-12-22 Thread Randal L. Schwartz
>>>>> "nox" == nox   writes:

nox> A dependent of X is a port Y which depends on X.
nox> A dependency of X is a port Y which X depends on.

Well, then, it still seems like he wants --follow-dependents,
to uninstall everything that would have prevented it from being
uninstalled simply because it depends on the port in question.

Or does that switch not do that?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Uninstalling a Port

2009-12-22 Thread Randal L. Schwartz
>>>>> "Joshua" == Joshua Root  writes:

Joshua> He said dependencies, not dependents. Probably want port_cutleaves.

OK, can you elaborate?  What are the differences?

If I say "port uninstall foo" and it says "can't do that, bar needs it",
is bar a dependency or a dependent or both, and if not both, what's
an example of the other?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Uninstalling a Port

2009-12-22 Thread Randal L. Schwartz
>>>>> "Peter" == Peter Hindrichs  writes:

Peter> I uninstalled the port that I wasn't using anymore, which took awhile
Peter> as I had to uninstall all the dependencies that went with it, manually.
Peter> My question earlier should have been with installing a port, it is
Peter> quite easy "sudo port install "whatever" and it will do all the heavy
Peter> lifting.

Peter> Is there no way of doing this in reverse ie. uninstalling "whatever"
Peter> that will take care of the dependencies. ?

You mean besides "--follow-dependents"?

   uninstall
 Deactivate and uninstall portname.  To uninstall all installed but inac-
 tive ports, use -u.  To recursively uninstall all dependents of this
 port, use --follow-dependents.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: socks proxy

2009-12-22 Thread Randal L. Schwartz
>>>>> "leelavati" == leelavati narlikar  writes:

leelavati> Thanks, Josh and Nox, for your replies. The problem is I have to
leelavati> use socks and I don't think there's an env variable that MacPorts
leelavati> honors for that. macports.conf has all other proxy settings, but
leelavati> not socks..

Cocoa applications use the System Preferences proxy settings.

For command-line applications, you have to patch the connect() call in the
libc.so, which is conveniently done by preceding your actual command with
"tsocks".  (If you don't have tsocks, "sudo port install tsocks").

After that, you should be able to say "sudo tsocks port install ..."
to cause port and all of its children to use your socks proxy.

You might have to configure /opt/local/etc/tsocks.conf to match
your System Preferences settings.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


any way to make --enforce-variants the default?

2009-08-31 Thread Randal L. Schwartz

It seems like this new "--enforce-variants" switch is just
a pain.  In a cargo-cult way, I now have to include it on
every "upgrade", because it invariably breaks when I don't.
So then I wonder, why isn't it the default?

And I've run into a tougher place.  I tried to install something
new.  But that triggered the upgrade of something else, which then
failed because, yup, again, --enforce-variants isn't set.
But why (and how!) would I have set --enforce-variants
on "sudo port install gimp".  This is *not* making sense.

So, what's the purpose of this new switch, and when would you ever *not* use
it?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MacPorts 1.8.0 has been released

2009-08-28 Thread Randal L. Schwartz

This port broke my system.  Good thing I had backups, so I could figure out
what went wrong.

$ sudo port -v selfupdate
[upgrade to 1.8.0]
$ port outdated
The following installed ports are outdated:
libcanberra0.15_0 < 0.16_0  
$ sudo port -puv upgrade libcanberra
... warnings about skipping upgrades ...
--->  Cleaning libcanberra
--->  Removing build directory for libcanberra
--->  Uninstalling libcanberra @0.15_0
--->  Uninstall is removing libcanberra from the port registry.
$ port outdated
zsh: command not found: port

What the F.

Turns out the install is *removing* my /opt symlink, which
points at private/opt.

Why is the new installer removing my symlink?  That's none of its
business.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: how to prevent a package from upgrade

2009-07-12 Thread Randal L. Schwartz
>>>>> "Vincent" == Vincent Lefevre  writes:

Vincent> and the user can put his own ports (in particular, some fixed
Vincent> version of some port) there (and don't forget to run portindex
Vincent> from this directory).

Or even install a dummy package that *requires* php-5.2 and won't accept
5.3 (I think that's possible), and then at least you'll get all sorts
of alarms when you try to deactivate 5.2.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users